OTA AdHoc Distribution - How to build IPA from the command line?

I would like to script my building process.

However - I need to create an IPA for the enterprise in order to distribute the application over the air for my testers.

I followed this article , I can create ipa and plist with some click in Xcode;) But - I would like to have this script. The real question is how to create an IPA (I need to embed a .mobileprovision file in it, right?) And how to generate a .plist file?

For plist, do I have to do this manually, or does xcode generate it for me if asked beautifully?

+5
source share
1 answer

You can do it:

xcodebuild -project "Your Project" -target "Your Scheme" -configuration Release

xcrun -sdk iphoneos PackageApplication -v "Some App.app" -o "Some App.ipa" --sign "iPhone Distribution: Your Signature\" --embed enterprise.mobileprovision

plist -, . plist , , , , plist, .

+5

All Articles