Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
solidcell opened this issue Oct 29, 2024 · 0 comments

Comments

@solidcell
Copy link

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 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant