Search code examples
iosbluetooth-lowenergycore-bluetooth

CoreBluetooth BLE hardware is unsupported on this platform


To connect to BLE devices I am using the code you can find here:

https://stackoverflow.com/a/25828315/1565181

I am running the code on my macpro with bluetooth activated. I can connect to my cell phone in the settings-> blue tooth menu but unfortunately when I run the code I only get the "CoreBluetooth BLE hardware is unsupported on this platform" output on the console. I do not have a developer account yet, can this be the problem?


Solution

  • CoreBluetooth isn't supported in the iOS Simulator. You'll need to run the app on an iOS device that supports Bluetooth LE. You will need a paid developer account in order to run apps on the iOS device.