简体   繁体   中英

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?

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.

Currently you need only a real device. Apple allows debugging for any apple id

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM