Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcodebuild fails on the 'write auxiliary files' step

I am doing a clean then archive:

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

I get this error about 50% of the time.

The following build commands failed:
    Write auxiliary files

Its reported twice in the apple developer forums (but not yet on StackOverflow as far as I am aware).

  • https://devforums.apple.com/message/938564#938564
  • https://devforums.apple.com/message/953949#953949

Has anyone found the cause or a workaround?

like image 983
Robert Avatar asked Apr 11 '14 15:04

Robert


1 Answers

This issue was fixed with the release of XCode 5.1.1 The release notes had 2 vague mentions of 2 bug fixes on the 'Build System' which I guess fixes the issue.

The updates should happen automatically. If not go to the app store and install both the command line tools update and the latest Xcode.

enter image description here

like image 161
Robert Avatar answered Sep 21 '22 00:09

Robert