Skip to content

Build Failed on XCode13 #261

@csxfno21

Description

@csxfno21

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions