Hive
tuist generate fails to find Sparkle.xcframework
GitHub issue · Open
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?
- Upgrade to Tahoe and Xcode 26.
- Clone and run
tuist installwithin the tuist/tuist repo. - Run
tuist generate - 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
I’ve had this happen to me before Xcode 26 was released. I think it’s some oddity in the
swift package resolvebehavior 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!