iOS 7 simulator can't run BLE? - iphone

iOS 6 can use simulator to run BLE for debug.
But when I upgrade to Xcode5, the iOS 7 simulator without bluetooth switch.
So,I can't run BLE on iOS7 simulator.
Is that a only way to load the program on iphone to test the BLE?

Yes correct. This was discussed in the Core Bluetooth 2013 WWDC video. Effective iOS7, you need to run your app on a physical device to test BLE.

Xcode Simulator not support BLE, need to real/physical ios device.

Related

is Store Kit framework working on i OS 6 Simulator?

I implemented In App Purchase in my application. It is working fine on iPhone 5.1.
I know Store Kit is not working on iPhone Simulator 5.1.
But on i OS 6 simulator, i can connect to App store and i get alert for confirmation In App Purchase. But the transaction is failed with error on iOS 6 Simulator.
Any one please explain reason for this.
Simulator
For this release, iOS Simulator does not support testing In-App Purchase. Please use a device to test your apps that use this feature.
iOS 6.0 Release Notes
On Xcode 4.5.2 and iOS 5 and iOS 6 it works fine.
I try in simulators for iPhone 5 and 4, and on all iPads too.
There is only a little delay in the simulator, but the transaction is fully functionally
I see that is very important the configuration in iTunesConnect.
In my opinion is better to check the ItunesConnect config before change the code.
the docs say that IAP can be fully tested in the sim, except for hosted content:

iPhone App to transfer message over bluetooth but device is not getting connected

I am working on this iPhone app with which you can send message to other connected device. I have gone through following tutorial
http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/
Everything seems to be fine. No memory leaks or anything like that. Now I installed this application on iPad and iTouch. iPad is running 4.3.5 and iTouch is running 4.2.1. I am using X Code 4.0 with iOS 4.3 as base sdk. I set my targets to 4.0 in X Code for above project (like Target->Messenger->summary->deployment target->4.0) similarly for project.
Now when I run application and try to connect it with other device, it shows only looking for nearby iOS devices and nothing happens further. But when I set deployment target to 4.3 and install same app on iPad, that iPad can detect iTouch but not able to connect it.
Can anyone tell me why is this happening and how to deal with it ?
Regards,
Sumit
Did u try using Xcode Simulator to connect your iPod Touch by Blue Tooth?
Then it can make more sure that your programming run correctly.

Is it possible to install iPhone apps on iPhone Simulator?

After installing xcode ios SDK I can now run iPhone Simulator. Now is it possible to install and run third party free iPhone apps such as Paper Glider just as you would on real iPhone and how to do that?
Nope, you cannot do that. The apps in the App Store are compiled for ARM; the simulator is for Intel CPUs. Oh, and also, note that it's a simulator, not an emulator.
Sorry to disappoint!

How do I use the iPhone Simulator in 3.2 (not iPad Simulator)

I'm fixing my app to be a universal binary. Testing on the simulator seems to default to the iPad. For small corrections like checking orientations and small UI updates, the only way I can find to get the iPhone version is to plug in my iPhone and build and run on device.
Loading the debugger takes valuable time, when running on simulator is so much faster for this kind of work. Can I set the simulator to default to iPhone for this? Setting it to 3.1.3 doesn't work because of the 3.2 code I have in the binary for the iPad.
EDIT:
The Hardware -> Device, and ->Version menu choices in the simulator quits my app. When I relaunch, it goes back to the iPad. The app is not installed in the simulator
If you don't have the latest xcode, get it.
Set the project info to build for 3.2, but in the build drop down pick iPhone Simulator 4.0 and it will open in the iPhone simulator instead of the iPad simulator.
That is the dilemma: if you want to use OS 4 on the iPhone, you have to use iPhone SDK 4, which comes with XCode 3.2.3.
Previously I used iphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard__10m2003a, where the simulator was fine, but now after I update the iPhone to OS 4 (which is by iTunes), I cannot use the SDK 3.1.3 any more, and the simulator 3.2 which comes with SDK 4 actually does not work for iPhone at all!
Even when you specify the "iPhone OS Deployment Target" to "OS 3.1.3", and an iPhone-frame shows up in the iPad simulator, many functions are not responding at all.
Does Apple have an official answer to this dilemma?
I finally solved this problem myself.
First, install new version of xCode, which is xCode 4.
Then set project scheme to iphone simulator and run app in xCode several times.
And re-install xCode 3 and the problem will be gone away!

iPhone SDK Bluetooth application test

I developed one Bluetooth application. I mean, I got it from Internet. Could I test this application in my simulator?
When I execute this application in simulator, it is showing only one message box:
LOOKING FOR OTHER iPHONE OR iPOD TOUCH
My computer is mini Mac. There is Bluetooth. If we test it in my iPhone, does it work fine? Please help me.
The simulator does not have bluetooth support.
Bluetooth networking is not supported on the original iPhone or the first-generation iPod touch. It is also not supported in Simulator.
please refer it
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html