13

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?

averageUsername123
  • 725
  • 2
  • 10
  • 22
  • 3
    See if this post http://stackoverflow.com/questions/8722633/generate-xcarchive-into-a-specific-folder-from-the-command-line helps – Lollypop Nov 16 '12 at 19:15

3 Answers3

16

xcode->preferences->locations->archieves

archieve change

Mihriban Minaz
  • 3,043
  • 2
  • 32
  • 52
9

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

atreat
  • 4,243
  • 1
  • 30
  • 34
-1

Xcode open Project and go to Build setting , find enable Bitcode , by default its is YES make it is as NO and save

also check in build.json packageType match with Apple id Certificate i.e. Development