iOS development, how to package in the IPA format of the package and how to install on the phone terminal. (My development environment is Xcode6.1.1)
As an individual developer (of course, my developer account is a personal developer account, not an enterprise developer account), for yourself, we only need real-world debugging to install the app on your phone, if you want to give more tests or friends to use your app before publishing (the key is that they are not around you, If you are around, of course you can debug one by the real machine to install the app on their phone, when your app is not online, AppStore not yet), what should you do? Think about it!
In the developer Center, you may notice that there are 2 categories of our profiles, 3 of them in total. Under the development class, a description file that is used for debugging debug mode on a real machine, but under the distribution class, there are 2 kinds of profiles. We're just using the App store--
Create A distribution provisioning profiles to submit your apps to the app Store, and rarely ad hoc--create a distribution provision ING profile to the install your app on a limited number of registered devices. Their role is clear, the former is used to submit your app to AppStore, while the latter is used to install your app to a limited numbers The volume of the registered device. Our idea is not to install the application on a limited device? (prior to release)
Detailed steps for generating an IPA package:
1) as before, set your deployment Target, which depends on your own needs and requirements.
2) Under Build setting, in code signing, code signing identity still uses the development certificate when debugging, release certificate is used, and for the description file, Provisioning The profile is generated using the development certificate at debug time, and release uses the description file generated by the publishing certificate, but when you choose distribution, you must select AD Hoc.
3) in the selection of equipment, we must choose the iOS device
4) in the Xcode menu bar, under Product, select Archive.
5) In the previous step to jump after the page, on the right there are the following 3 items Validate Submit Export, I only roughly say, Validate is used to detect whether your application is in the audit of the obvious not allowed to exist files or other ..., Submit is used for submitting your app to AppStore, and export is for exporting your app's IPA package, (which is what is discussed now) Click Export, then there are 3 options for you to choose from, the save for what picture The first item is used when you upload the app to AppStore, and the last IPA package is used, and the second is for the scenario we're discussing today, and you need to give your friends, your testers, a test when your app is not officially released. The third developer for the enterprise developer account, who chose to package the app in an IPA format and distribute it to employees inside the enterprise.
6) After performing the above steps, you will finally get a project name. IPA file.
The easiest way to install ipad's package on your phone is to use itunes to sync it to your phone, as follows:
1) Open itunes, select to the location shown in itunes, drag the IPA package directly to
2) Connect the phone, select to the tablet phone as shown, click on the left side of the installation, then click on the app at the bottom so itunes will start syncing and install the IPA package into your phone (as shown in the OK image).
Because there are too many pictures, the upload sequence is not consistent with the operation, save for the picture after the archive picture, select Save for Ad HOC deployment The rest of the same, thank you. I hope to be helpful to my friends who are having problems. [This post was edited by Yimanfly on 2015-02-05 10:55] Picture: profile_classes.png
Image: Code signing.png
Image: Archive.png
Image: Device.png
Image: Ipa.png
Image: Itunes.png
Image: Phone.png
Photo: Save for What.png
How to package in an IPA format and how to install it on a mobile device in iOS development