Pack iOS_ipa and xcode5ipa

Source: Internet
Author: User

Pack iOS_ipa and xcode5ipa

Real machine debugging requires two authorization certificates,

One is the. p12 file,

One is the. leleprovision file,

You only need to double-click the two files to import them to the mac computer,

Go to XCode, and click "Organizer" to activate the device as a developer's machine to debug the real machine.



There are two ways to publish an application:

One is to package it into ipa and upload it to the 3rd-party software market in China. When your mobile phone has been JailBreak, double-click the downloaded ipa file to install the software.

(Like the android apk package, ipa is actually a compressed package)



Method 1: Use XCode to package ipa

1. select Edit Scheme.


2. Select the Release shown in the figure]


Note that the Products directory on the left of the project is still red.


3. Press Command + B to compile

The previously specified Release method will automatically generate

A 30_unit test. app file,

At this time, the Products directory on the left of the project already has a new 30_unit test. app file.


4. Right-click show in Finder and copy the [30_unit test] Resource Package (actually mainBundle) to the desktop.


5. Create a blank folder on the desktop. The name must be:[Payload]


6. Move the 30_unit test package to the Payload folder.

7. Right-click the Payload folder and select compress]

8. Finally, change the compressed file name suffix zip to ipa.


Method 2: use iTunes to package ipa

The preceding three steps are the same.

4. Open iTunes, Command + comma, enable preference settings, and select [application]





5. right-click the 30_unit test generated in the Products directory on the left of the Xcode project. app, select show in Finder, and drag the [30_unit test] Resource Package (actually mainBundle) to iTunes to automatically generate the ipa file.




Another method is to upload the file to the app store and package it in Archive Mode Under the XCode Product menu.


After packaging, click the XCode menu window, Organizer, and Achives to view the generated Archive Type: iOS App Archive, which is the compressed Package released to the appStore.




How to package an ios project into an ipa File

Next iTools, there is a toolbox in the sidebar. You can change it there.
 
How to package the ipa package for ios development using xCode and install it directly on an iPhone without jailbreak

The installed machine can only be a development machine or has escaped from jail. What else will Apple do with a $99 service? It can only be uploaded to the appstore or the above two methods
If you want to, put your developer certificate and ipa together so that the person you want to install can sign your own security

Related Article

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.