Skip to content

Ambiguous use of Tagged name for struct and module is causing xcodebuild issues #80

@solidcell

Description

@solidcell

It's a bit late to be renaming the Tagged struct something else that doesn't clash with the module name, but maybe you have a suggestion for how to avoid this issue with xcodebuild. I'm trying to archive a framework with xcodebuild that depends on swift-tagged, but it seems to be prepending the module name onto the struct while compiling and then getting confused by trying to interpret that as meaning there's a Tagged member on the Tagged struct.

/Users/MyUser/Library/Developer/Xcode/DerivedData/MyProject-arzdwthrubjwyeczbiqlmjkjwywx/Build/Intermediates.noindex/ArchiveIntermediates/MyScheme/IntermediateBuildFilesPath/swift-tagged.build/Release-iphoneos/Tagged.build/Objects-normal/arm64/Tagged.swiftinterface:132:18: error: 'Tagged' is not a member type of generic struct 'Tagged.Tagged'
extension Tagged.Tagged : Swift.Numeric where RawValue : Swift.Numeric {

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