Xcode Build Error PhaseScriptExecution

I'm getting the following error while trying an Xcode build. I'm using the flags
-x -r --debug-swift --skip-build-benchmark

Phase.makeDebug: No such file or directory. Stop.

Command /bin/sh failed with exit code 2

**** BUILD FAILED ****

The following build commands failed:

**PhaseScriptExecution** CMake\ Rules /Volumes/Afraz\'s\ Har/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/cmark-macosx-x86_64/cmark.build/Debug/ZERO_CHECK.build/Script-0358EF1FF6224BDCB2A837E1.sh

(1 failure)

ERROR: command terminated with a non-zero exit status 65, aborting

I'm not sure how to fix this. I appreciate the help. Thanks

EDIT: I realize that this might be happening because I'm trying to build from an external SSD. Is it possible to do an Xcode build from an external drive? Alternately, is there a way to do a smaller build that takes up less disk space?

Try renaming your volume (Afraz's Har). Build script will fail with any spaces in the path, plus not sure about the '.

1 Like

That fixed it. Thanks!

Terms of Service

Privacy Policy

Cookie Policy