NordicSemiconductor / IOS-DFU-Library

OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs
http://www.nordicsemi.com
BSD 3-Clause "New" or "Revised" License
525 stars 214 forks source link

xcode13 compile error #456

Closed xintenggiegie closed 3 years ago

xintenggiegie commented 3 years ago

CBService 's property is changed to optional weak open var peripheral: CBPeripheral? { get }

emoonadev commented 3 years ago

Merged fix to develop for the issue

philips77 commented 3 years ago

Are you developing for iOS or Mac?

philips77 commented 3 years ago

This change has been addressed in 4.10.4, as far as i remember. But seems like Apple made it more interesting and now the API diverged between iOS and Mac. We #455 tries to address that issue no matter the target.

xintenggiegie commented 3 years ago

Sorry, I'm using an older versionă€‚đŸ˜‚ @philips77

rodmaz commented 3 years ago

We are using version 4.11.0 (Swift Package) and still getting these issues when the app is compiled in release mode/archive.

philips77 commented 3 years ago

Fix released in 4.11.1.