NordicSemiconductor/IOS-DFU-Library

xcode13 compile error

Closed this issue · 6 comments

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

Merged fix to develop for the issue

Are you developing for iOS or Mac?

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.

Sorry, I'm using an older version。😂 @philips77

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

Fix released in 4.11.1.