Xcodebuild Export IPA method

Source: Internet
Author: User

Xcode 5.x version Export IPA does not require a developer account, and Xcode6 after export IPA must ask to select the developer team, cannot bypass, but we use the Xcodebuild command line can ignore this limit

Environment:

Mac OSX 10.10 and Xcode 6.1

First CD to the directory where your xcodeproj is located

The first step is to clean up the project

Xcodebuild Clean-project Ron.xcodeproj-alltargets

Step two, archive compile

Xcodebuild-project ron.xcodeproj-scheme ron_taiwan-destination Generic/platform=ios archive-archivepath bin/ Ron.xcarchive

If this step is stuck in, it may be because the scheme file does not exist, as follows,

In Xcode-"manage schemes, put the scheme shared for the project you need to export, tick share, OK, continue trying

(Refer to this blog http://blog.reohou.com/how-to-export-ipa-from-archive-using-xcodebuild/)

Step three, export the IPA file

I'm exporting a adhoc package.

Xcodebuild-exportarchive-archivepath bin/ron.xcarchive-exportpath Bin/ron_taiwan-exportformat IPA- Exportprovisioningprofile ' Abcd_adhoc '

This is the process I have personally tried, after completion, you can find an IPA under the directory bin

Xcodebuild Export IPA method

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.