Shell Pack iOS Program

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/jerryvon/article/details/38656097

I. Order

Xcodebuild-version Display version number

Xcodebuild-showsdks Show Current SDK

Xcodebuild-list Display project information

Packaging commands

1./usr/bin/xcodebuild-target targetName Clean Cleanup Project

2./usr/bin/xcodebuild-target targetName pack. App

3./USR/BIN/XCRUN-SDK Iphoneos packageapplication-v path/to/xxx.app-o xxx.ipa packaging. IPA

-SDK can specify an emulator or a device

If you want to package adhoc you can execute the following command

XCRUN-SDK Iphoneos packageapplication-v/build/release-iphoneos/xxxx.app-o ~/xxxx.ipa-sign "IPhone distribution:xxx X co.,ltd. "--embed" Xxxx_adhoc.mobileprovision "

Where embed need to mobileprovision, directly from developer provision download a adhoc on the line

Two. Reference

Http://www.cnblogs.com/xiaodao/archive/2012/03/01/2375609.html


Shell Pack iOS Program

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.