Reputation: 1866
im using xcodebuild to automate my release process and would like to first do an:
xcodebuild -scheme MyScheme archive
and then build the ipa.
the problem is that xcodebuild puts the xcarchive is some obscure location and maes it include the date.
my question:
how can i override/force xcodebuild to name and place the acrhive whene i want it to go (/tmp)?
i tried:
xcodebuild -scheme MyApp archive ARCHIVE_PATH='/tmp'
but that didn't do anything
Upvotes: 4
Views: 1696
Reputation: 156
This should do the trick:
xcodebuild -scheme MyScheme archive -archivePath "/tmp"
Upvotes: 3