enable bluetooth in xcode iPhone simulator

Hi I am having difficulty enabling Bluetooth in the iPhone 6 simulator in xcode. First, there is no option for enabling BT in the Settings at all, as there is on my actual iphone 6. Second when I go to the hone page and "swipe up" the BT option is greyed out. Wifi is avaiable and can be toggled there but not BT. What is going on? I am running Mc OS sierra 10.12.1, xcode 8.1 (8B62) and in xcode the iPhone 6 is ios 10.1 (14B72).


Is there an optimal configuration where all the versions play nice?


Thanks in advance,


Danny

Bluetooth is not supported in the simulator. Your will need to use an actual device for testing.

where do I find the code to enable Bluetooth please? I am assuming once the code is written in xcode the iphone app should work?

See the CoreBluetooth documentation for how to enable Bluetooth in your app.

enable bluetooth in xcode iPhone simulator
 
 
Q