FlutterBleLib icon indicating copy to clipboard operation
FlutterBleLib copied to clipboard

Build error with Xcode 13, iOS 15 SDK

Open wxsdmy opened this issue 4 years ago • 3 comments

…/RestoredState.swift:68:105: error: value of optional type 'CBPeripheral?' must be unwrapped to a value of type 'CBPeripheral' peripheral: RxCBPeripheral(peripheral: $0.service.peripheral)), ^ …/MultiplatformBleAdapter/iOS/RxBluetoothKit/RxCBCharacteristic.swift:59:52: error: value of optional type 'CBService?' must be unwrapped to a value of type 'CBService' return RxCBService(service: characteristic.service) ^ peripheral: RxCBPeripheral(peripheral: $0.service.peripheral)),

…/RxCBDescriptor.swift:43:62: error: value of optional type 'CBCharacteristic?' must be unwrapped to a value of type 'CBCharacteristic' return RxCBCharacteristic(characteristic: descriptor.characteristic) ^

Please update MultiPlatformBleAdapter to '0.1.9' version.

wxsdmy avatar Nov 04 '21 11:11 wxsdmy

any news ? we should need a version compatible with ios 13!

freedreamer82 avatar Nov 17 '21 10:11 freedreamer82

Try this: https://github.com/dotintent/MultiPlatformBleAdapter/issues/79#issuecomment-945158358

b055man avatar Nov 22 '21 10:11 b055man

it appears that there is a fork of this project explicitly for supporting iOS 15 at https://github.com/davejlin/flutter_ble_lib_ios_15

MoralCode avatar Dec 22 '21 22:12 MoralCode