Skip to content

Compile failure on XCode 15.3  #3

@ryanobjc

Description

@ryanobjc

Building on Xcode Version 15.3 (15E204a)
OS X 14.4.1 (23E224)
BCSwiftFoundation version 12.0.1

My iOS deployment target is 17.4, and the Swift version for my application project is 5, but I don't think those roll down to dependency libraries

Error log:
BCSwiftFoundation/Sources/BCFoundation/Bitcoin/BitcoinAddress.swift:193:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.address, Tag.addressV1]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~

BCSwiftFoundation/Sources/BCFoundation/Bitcoin/Descriptors/OutputDescriptor.swift:71:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.outputDescriptor, Tag.outputDescriptorV1]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BCSwiftFoundation/Sources/BCFoundation/Bitcoin/OutputDescriptorBundle.swift:44:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.accountDescriptor, Tag.accountV1]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

BCSwiftFoundation/Sources/BCFoundation/Bitcoin/PSBT.swift:260:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.psbt, Tag.psbtV1]
^~~~~~~~~~~~~~~~~~~~~~

BCSwiftFoundation/Sources/BCFoundation/Shared/DerivationPath.swift:266:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.derivationPath, Tag.derivationPathV1]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

BCSwiftFoundation/Sources/BCFoundation/Shared/HDKey.swift:40:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.hdKey, Tag.hdKeyV1]
^~~~~~~~~~~~~~~~~~~~~~~~
BCSwiftFoundation/Sources/BCFoundation/Shared/Seed.swift:37:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.seed, Tag.seedV1]
^~~~~~~~~~~~~~~~~~~~~~
BCSwiftFoundation/Sources/BCFoundation/Shared/UseInfo.swift:78:34: error: type of expression is ambiguous without a type annotation
public static var cborTags = [Tag.useInfo, Tag.useInfoV1]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Additionally it seems the compiler exits with non-zero code doing this command:
SwiftCompile normal arm64 Compiling\ TxOutput.swift,\ VarInt.swift,\ WIF.swift,\ Witness.swift,\ Ethereum.swift,\ EthereumAccountDerivations.swift,\ EthereumAddress.swift,\ AccountDerivations.swift,\ AddressProtocol.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Bitcoin/TxOutput.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Bitcoin/VarInt.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Bitcoin/WIF.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Bitcoin/Witness.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Ethereum/Ethereum.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Ethereum/EthereumAccountDerivations.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Ethereum/EthereumAddress.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Shared/AccountDerivations.swift checkouts/BCSwiftFoundation/Sources/BCFoundation/Shared/AddressProtocol.swift (in target 'BCFoundation' from project 'BCFoundation')

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