-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi,
I'm using this library in an SPM project and I then use xcodebuild to generate XCFrameworks.
The build does not succeed because of conflicts between the module name and the CBOR enum. The module is considered as the enum and this leads to errors like this :
error: 'CBORError' is not a member type of enum 'CBOR.CBOR'
9 | import _StringProcessing
10 | import _SwiftConcurrencyShims
11 | indirect public enum CBOR : Swift.Equatable, Swift.Sendable {
| - note: 'CBOR' declared here
12 | case unsignedInt(Swift.UInt64)
13 | case negativeInt(Swift.Int64)
:
110 | }
111 | extension CBOR.CBORError {
112 | public static func == (lhs: CBOR.CBORError, rhs: CBOR.CBORError) -> Swift.Bool
| - error: 'CBORError' is not a member type of enum 'CBOR.CBOR'
113 | }
114 | extension CBOR.CBOR : Swift.Encodable {
Can you rename the library ? Or do you know a bypass solution ?
Many thanks in advance