Doug Null
Doug Null

Reputation: 8327

Xcode iOS simulator's Settings > Bluetooth just spins and doesn't turn on

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.

Upvotes: 6

Views: 15164

Answers (2)

AndrewCr
AndrewCr

Reputation: 521

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/

Upvotes: 9

Doug Null
Doug Null

Reputation: 8327

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).

Upvotes: 4

Related Questions