Hive Hive
Sign in

tuist cache does not support libraries which support macOS+Catalyst

GitHub issue · Open

Metadata
Source
tuist/tuist #6163
Updated
Jun 11, 2026
Domains
Cache
Details

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

Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments
F
fortmarek 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.

N
NachoSoto Apr 10, 2024

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

F
fortmarek Apr 10, 2024

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)