Xcode Cloud Multiple Apps bug
In case this helps anyone: When adding multiple apps to Xcode Cloud, it would sometimes link projects together incorrectly and mess up the builds/workflows. I was pulling my hair out trying to figure this out, and Claude was of no help either (even using my app store connect API key to look and try things).
With some tips from Gemini, I think I finally figure out what is happening. Xcode might be holding stale product association locally.
Between adding things to Xcode Cloud, the following worked for me to appropriately clear whatever caches were causing this:
- Shutdown Xcode.
- rm -rf ~/Library/Developer/Xcode/DerivedData/* && rm -rf ~/Library/Caches/com.apple.dt.Xcode
- Restart Xcode. Use the Integrate —> Create Workflow menu to add your project to Xcode cloud.
I highly recommend doing this any time you add a new app from Xcode to Xcode Cloud. It bit me multiple times.
•
Upvotes