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

2.9k views Asked by At

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

1

There are 1 answers

3
potato_fog On BEST ANSWER

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