I'm trying Apples BTLE Core Bluetooth test app. But when I run on the iOS Simulator, it doesn't work because Simulator's Settings > Bluetooth was off.
But when I click Settings > Bluetooth to turn it on, it opens the right-hand Bluetooth pane and just shows the busy rotator, and never turns on.
Same problem simulating iPhone or iPad.
POSSIBLE SOLUTION ALREADY: I just found this Apple Tech note, http://developer.apple.com/library/ios/#technotes/tn2295/_index.html
If solution, then I will add the answer to this question, so that others may benefit.
This is no longer supported, unfortunately. (As of Xcode 5.0, iOS7) The tech note has been taken down and this third-party article describes some of the changes, including loss of BTLE support in the simulator: http://www.doubleencore.com/2013/09/whats-new-in-bluetooth-le-ios-7/
This tech note from Apple describes the complete procedure for getting ios simulator to do Bluetooth.
http://developer.apple.com/library/ios/#technotes/tn2295/_index.html
I bought the Bluetooth LE USB dongle at Best Buy. Be sure to ask for one with Bluetooth 4.0 because they still sell 2.0 (cheap).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With