mm24
mm24

Reputation: 9616

Simulating bluetooth devices on iOS simulator / Xcode

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.

Upvotes: 3

Views: 5943

Answers (1)

BriniH
BriniH

Reputation: 35

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"

Upvotes: 2

Related Questions