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...

asked Feb 3, 2014 at 14:19
1

1 Answer 1

2

Just use xcodebuild archive command

answered Feb 3, 2014 at 15:37
Sign up to request clarification or add additional context in comments.

1 Comment

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.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.