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

tuist cache does not support libraries which support macOS+Catalyst #6163

Open
NachoSoto opened this issue Apr 9, 2024 · 3 comments
Open
Labels
type:bug Something isn't working

Comments

@NachoSoto
Copy link

What happened?

Adding https://github.com/apple/swift-collections.git (OrderedCollections) as a dependency for example reproduces this.

How do we reproduce it?

tuist cache OrderedCollections

Error log

/usr/bin/xcrun xcodebuild -create-xcframework 
-archive /private/var/folders/60/737rrmcs6yqbfbl9fd4g0dcw0000gp/T/TemporaryDirectory.5gwC7A/Archives/iOS/simulator.xcarchive 
-framework _CollectionsUtilities.framework 
-archive /private/var/folders/60/737rrmcs6yqbfbl9fd4g0dcw0000gp/T/TemporaryDirectory.5gwC7A/Archives/iOS/mac-catalyst.xcarchive 
-archive /private/var/folders/60/737rrmcs6yqbfbl9fd4g0dcw0000gp/T/TemporaryDirectory.5gwC7A/Archives/iOS/device.xcarchive 
-framework _CollectionsUtilities.framework 
-archive /private/var/folders/60/737rrmcs6yqbfbl9fd4g0dcw0000gp/T/TemporaryDirectory.5gwC7A/Archives/macOS/device.xcarchive 
-framework _CollectionsUtilities.framework -output /var/folders/60/737rrmcs6yqbfbl9fd4g0dcw0000gp/T/TemporaryDirectory.5gwC7A/xcframeworks/_CollectionsUtilities.xcframework 
-allow-internal-distribution
-framework _CollectionsUtilities.framework 

Fails with:

A library with the identifier 'macos-arm64_x86_64' already exists.

macOS version

14.4.1

Tuist version

4.9.0

Xcode version

15.2.0

@NachoSoto NachoSoto added the type:bug Something isn't working label Apr 9, 2024
@fortmarek
Copy link
Member

fortmarek commented Apr 10, 2024

Hey 👋

I am unable to reproduce this in the latest tuist version. Could you attach a sample project? It helps us a ton if the issue has a zip with the actual project, so we don't waste time on trying to reproduce the issue.

@NachoSoto
Copy link
Author

What's a good email to send you a sample project?

@fortmarek
Copy link
Member

If you can't share it publicly, you can hit us at contact@tuist.io or you can join our Slack and send me a DM (you can find our Slack at tuist.io)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants