I keep getting this error with #XcodeCloud:

❌ Command PhaseScriptExecution failed with a nonzero exit code

I'd have known what to do with it locally, but it's been a pain to figure out and debug there. Anyone faced this before? Any tips?

#iosdev #swiftdev #SwiftDevCommunity

So this was fixed. One, the issue did not make much sense from the AppStoreConnect logs. But upon reviewing the logs in Xcode, it seemed that one of the build phases scripts that wasn't supposed to run was running in the CI and failed. It was easy enough to fix with some of the Xcode Cloud environment variables references here: https://tinyurl.com/2auxwyxr. And now onto TestFlight (almost)! 🎉

#XcodeCloud #iosdev #swiftdev #SwiftDevCommunity
Environment variable reference | Apple Developer Documentation

Review predefined environment variables you use in custom build scripts.

Apple Developer Documentation