-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE_Framework/BLE.m:466:20: 'UUID' is deprecated: first deprecated in iOS 7.0 #5
Comments
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, |
Thanks! Greets Johan Op 3 nov. 2013, om 16:29 heeft kevinpk notifications@github.com het volgende geschreven:
|
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?!
The text was updated successfully, but these errors were encountered: