I am testing some code to connect bluetooth devices on an iPhone app that works with WatchKit. As Apple watch is not out yet I need to rely on the simulator/Xcode to test it. Is there a way to simulate a bluetooth device on Xcode and link this to the iPhone simulator and WatchKit extension processes? I know how to attach the Watch app to the iPhone simulator but I am unaware of any technique to simulate BLE.
Yes you can.
get yourself a BLE USB dongle. you need to be on OS X 10.7 and you need also to set an NVRAM setting:
$sudo nvram bluetoothHostControllerSwitchBehavior="never"
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