Open jopiek opened 11 years ago
Yea I wonder when redbearlab can release a new BLE_Framework for iOS7. I have problem on both the UUID deprecated and the "isConnect" deprecated.
Johnny,
Replace
if(ble.activePeripheral.isConnected)
with
if(ble.activePeripheral.state == CBPeripheralStateConnected)
Sorry I can't help with what to do about UUID being deprecated. I came here to find that out as well!
Cheers, Kevin
Thanks!
Greets Johan
Op 3 nov. 2013, om 16:29 heeft kevinpk notifications@github.com het volgende geschreven:
Johnny,
Replace
if(ble.activePeripheral.isConnected)
with
if(ble.activePeripheral.state == CBPeripheralStateConnected)
Sorry I can't help with what to do about UUID being deprecated. I came here to find that out as well!
Cheers, Kevin
— Reply to this email directly or view it on GitHub.
Yeah it helped thanks a lot
The UUID issue makes an App unbuildable in iOS 8.
It's unfortunate that Apple has flagged this willy-nilly because I think all the are concerned about are you using phone UUIDs in your code.
If look at CBPeer.h, I think iOS8 now uses "identifier" which is instance of NSUUID.
Maybe: replace UUID by peripheral.identifier.UUIDString
Well, look at that... Apple seems to be getting rid of the UUID? Or is it just a compiler glitch? The UUID for CBPeripheral was introduced in iOS 5.
/../../.. ../BLE_Framework/BLE.m:466:20: 'UUID' is deprecated: first deprecated in iOS 7.0
What would be the solution?!