0

I am using below command to create an signed ipa file from command line i.e. terminal.

xcrun -sdk iphoneos PackageApplication \ "path/to/build/MyApp.app" \ -o "output/path/to/MyApp.ipa" \ --sign "iPhone Distribution: My Company" \ --embed "path/to/something.mobileprovision"

As understood from above, this will create an ipa file. But, I want to create a xcarchive file which will be used to upload to app store using Application Loader. How can I modify this command to achieve that. Any help will be greatly appreciated. Thanks...

1

1 Answer 1

2

Just use xcodebuild archive command

1
  • 1
    Could you please explain a little bit of what archive does internally. Does it do code signing also? Another thing is after xcodebuild archive, where will the xcarchive be stored? I want to store it in my own defined path.CommentedFeb 3, 2014 at 15:41

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.