Hive Hive
Sign in

tuist generate fails to find Sparkle.xcframework

GitHub issue · Open

Metadata
Source
tuist/tuist #7661
Updated
Jun 11, 2026
Domains
Generated projects
Details

What happened?

Running tuist generate with Xcode 26 on Tahoe fails with the error:

✖ Error
Couldn't find xcframework at /Users/simonsm2/Code/tuist/.build/artifacts/sparkle/Sparkle/Sparkle.xcframework

tuist clean and tuist install complete successfully

How do we reproduce it?

  1. Upgrade to Tahoe and Xcode 26.
  2. Clone and run tuist install within the tuist/tuist repo.
  3. Run tuist generate
  4. Observe failure

Error log

Error
Couldn't find xcframework at /Users/simonsm2/Code/tuist/.build/artifacts/sparkle/Sparkle/Sparkle.xcframework

macOS version

26.0

Tuist version

4.52.0

Xcode version

26.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
W
waltflanagan Jun 10, 2025

The fix for me locally was to rm -rf .build in the Tuist repo and then rerun tuist install and tuist generate

F
fortmarek Jun 10, 2025

I’ve had this happen to me before Xcode 26 was released. I think it’s some oddity in the swift package resolve behavior because the path we’re trying to locate is correct. Not sure what we can do here :/

I
ivanglushko Aug 15, 2025

I’ve had this happen to me before Xcode 26 was released. I think it’s some oddity in the swift package resolve behavior because the path we’re trying to locate is correct. Not sure what we can do here :/

Hey Marek! Maybe I could make it more revealing.

What I found is if you go to Tuist/.build/artifacts/ and will delete any .xcframework there. For example I have an spm package from https://github.com/stasel/WebRTC.git When deleted Tuist/.build/artifacts/webrtc/WebRTC/WebRTC.xcframework I get the folder left but no actual .xcframework there. Then you run tuist graph -f json or tuist generate and you will get an error like Couldn't find xcframework at ...

Which is expected, but then I call tuist install once again and I get no updates to artifacts folder which is not expected. Btw: i also tried to remove Tuist/.build/workspace-state.json didn’t work either. The only solution is to nuke Tuist/.build folder but then it takes ages to get all the stuff back.

Would be awesome to have your thoughts on that. Thanks!

I
ivanglushko Aug 15, 2025

BY the way the ~/Library/Caches/org.swift.swiftpm/artifacts folder contains the webrtc zip aka https___github_com_stasel_WebRTC_releases_download_114_0_0_WebRTC_M114_xcframework_zip file

F
fortmarek Aug 18, 2025

Which is expected, but then I call tuist install once again and I get no updates to artifacts folder which is not expected.

tuist install invokes swift package resolve under the hood. I believe this specifically is something to be fixed in SwiftPM and not in Tuist.

I
ivanglushko Sep 11, 2025

Workaround that works for me

  1. rm -rf Tuist/.build/workspace-state.json Tuist/.build/artifacts
  2. tuist install