Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcodebuild Archive Location [duplicate]

I'm currently trying to build an .xcarchive using this command line:

xcodebuild -project onething.xcodeproj -target onething archive

This places the .xcarchive within a hard to find file location, so I was wondering if there's a configuration to be able to set the file location for the archive?

like image 978
averageUsername123 Avatar asked Nov 16 '12 17:11

averageUsername123


2 Answers

xcode->preferences->locations->archieves

archieve change

like image 67
Mihriban Minaz Avatar answered Oct 02 '22 13:10

Mihriban Minaz


xcodebuild now takes an -archivePath argument. Use this to explicitly define where the archive will be output. Note that if this is used Organizer will not be able to find the file.

xcodebuild man page

like image 44
atreat Avatar answered Oct 02 '22 12:10

atreat