Xcodebuild does not work on the write helper files phase

I am doing a clean archive:

xcodebuild -workspace MyApp.xcworkspace \ -scheme MyScheme \ -archivePath /Library/......./outputfolder/MyApp.xcarchive \ clean archive 

I get this error in about 50% of cases.

 The following build commands failed: Write auxiliary files 

It has been reported twice on Apple Developer Forums (but not yet on StackOverflow, as far as I know).

Has anyone found a reason or workaround?

+6
source share
2 answers

This issue has been fixed with the release of Xcode 5.1.1. the release notes contained 2 obscure references to 2 bug fixes in the 'Build System', which I suppose fixes the problem.

Updates should occur automatically. If you don’t go to the application store and install the command line tools update and the latest Xcode.

enter image description here

+4
source

I saw this error with the assembly that used cocoapods.

Updating to the latest (0.31.1 from the moment of writing) fixed the problem for me.

This can be done with: (sudo) gem install cocoapods

0
source

All Articles