iosswiftxcodexcode-archive

XCode fails to create archive with 'unable to spawn process /usr/bin/make' error


Having trouble while creating archive of ios project (swift). The project has a build target, which requires /usr/bin/make to be set as build tool, but while trying to create an archive I constantly get error: unable to spawn process '/usr/bin/make' (No such file or directory) The make file exists in /Applications/Xcode.app/Contents/Developer/usr/bin/ and also added to PATH variable


Solution

  • Despite XCode provided only error: unable to spawn process '/usr/bin/make' (No such file or directory) message, the real reason was in the same target's External Build Tool Configuration Directory path value. It required different directories for debug and release builds