The sandbox is not in sync with the Podfile.lock
The installed pods do not match Podfile.lock, so the build stops before compiling.
01What you see
The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /tmp/dd2/Build/Intermediates.noindex/edemo.build/Release-iphoneos/edemo.build/Script-....sh (in target 'edemo' from project 'edemo')
From our own run of xcodebuild -workspace ios/edemo.xcworkspace ... (after the Pods folder no longer matched Podfile.lock)
02Why it happens
Every CocoaPods project has a build step, [CP] Check Pods Manifest.lock, that compares the pods that are installed with Podfile.lock. If they differ, it stops the build and says the sandbox is not in sync with the Podfile.lock. On a build machine this almost always means pod install did not run after the code was checked out, or the repository contains a stale Pods folder.
03The fix
Run pod install before building. In our test this fixed it and the build finished in 35 seconds, including the install:
cd ios && pod install && cd ..
xcodebuild -workspace ios/edemo.xcworkspace -scheme edemo -configuration Release -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO -quiet build
Commit Podfile.lock, and do not commit the Pods folder unless you mean to keep it in sync by hand.
04How we checked
On 25 November 2026 we started a fresh machine from our default image (Xcode 27.2), made a new project, caused this error on purpose with the command above, then ran the fix until it built. We do the same before adding any page to this list.
More on this kind of project: the guide. Other errors: Common errors. Still stuck? Send the build URL to support@macbuildcloud.com.