Xcodebuild command-line compilation packaged iOS apps and enterprise releases

Source: Internet
Author: User

Recently continue to improve the application of automatic generation system, Android app auto-generated has been working very well, began to implement the automated iOS app generation, after StackOverflow and other continuous search and experiment, and finally successfully implemented in the command line implementation of the iOS app compiled, compressed, Signature and other generation Enterprise Inhouse application process, compare deceptive is the last line of command can achieve the effect of compression application, do not need to xcodebuild exportarchive command everywhere compressed application, this is a foreign blog to see. The key commands are as follows:


Xcodebuild-project "Salesapp.xcodeproj"  -target "SalesApp"  -configuration "Release adhoc" Cleanxcodebuild- Project SALESAPP.XCODEPROJ-SDK Iphoneos  -scheme "SalesApp"-configuration "Release adhoc" Configuration_build_dir = "Xxxxxx/build" xcrun-sdk iphoneos packageapplication-v "Xxxxx/salesapp.app"-o "Xxxxx/salesapp-release.ipa"--sign " IPhone distribution:xxxxx. "  --embed "Xxxx.mobileprovision"

This can be compiled into a signed application for Enterprise Publishing, and then follow the template to generate plist files, put on the HTTPS server, on the iphone or ipad through the Safari browser access to the address below can install the app.

Itms-services://?action=download-manifest&url=https://www.xxx.com/xxx.plist

Xcodebuild command-line compilation packaged iOS apps and enterprise releases

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.