steamclock / bluejay

A simple Swift framework for building reliable Bluetooth LE apps.
MIT License
1.09k stars 98 forks source link

Build Failed on XCode13 #261

Open csxfno21 opened 2 years ago

csxfno21 commented 2 years ago

Summary: When we build project, i found some errors.CBCharacteristic's service is optional type. In CharacteristicIdentifier file, there are two functions using CBCharacteristic.service but not appending ! or ??. The two functions are 'init' and '==' which in line 22 and 49

Steps to Reproduce: 1. 1 When we build on XCode 13,We can find it

Actual Result: When we build on XCode 13,We can find it

Expected Result: self.service = ServiceIdentifier(uuid: cbCharacteristic.service!.uuid) (lhs.uuid == rhs.uuid) && (lhs.service.uuid == rhs.service!.uuid)

Device, Build, OS: iphone12, 15.3.1