Pack ipa files in Xcode 6 and ipa files in xcode 6
With the widespread application of Xcode6.1, many problems will emerge. Here we will discuss how to generate Ad-hoc ipa on Xcode6.1. First, you must generate one on your developer account. The main application of ipa is to be tested by the customer before you release it to the AppStore.
Now let's talk about how to generate the ipa file under Xcode6.1. Here, the configuration of the certificate does not go into details about how to add the device. It starts directly from the generation of the Ad-hoc profile. PS: if you do not have a certificate, please fly over.
First, configure and generate the Ad-hoc profile in the Developer Center. And download it.
After following the instructions, click continue.
Step 2: Select Ad-Hoc, that is, the type of the generated profile.
Select Ad-Hoc and click continue.
Step 3: configure the App ID later;
After selecting the App ID, click continue to continue the next step.
Step 4: add the publish application account.
Select the publisher account and click "continue.
Step 5: select the device that can install this ipa file. (The devices here are all the devices you have previously added UUID)
Click "continue.
Step 6: add a name to your Ad-Hoc profile file.
Enter the name and click Generate to Generate the profile file.
Step 7: Download the profile file to your local device.
So far, the configuration of the Ad-Hoc Profile file has been completed.
Open the application, double-click the Ad-Hoc Profile file, and add the file to the application. Click file --> show in Finder and copy the Profile file generated above to the folder.
Next we will discuss how to successfully configure the program.
1. click Project, select target (such as SFDownListAnimation in this figure) on the Right, click info, add an item under configuration under info, and select Duplicate "release" Configuration; then add the name. Process
Figure 1:
Figure 2:
Figure 3:
Figure 4: After Project-> info option configuration is complete, as shown in figure.
2. After the Project-> info configuration is complete, the selection process is: Change the Project to Target, and then Target --> build Setting --> Code Signing to configure the data. Remember, do not change the configuration of Debug and Release. You only need to configure the ad-hoc Profile. :
3. open the info-plist file (Note: The test info-plist file is not clearly displayed). The info-plist file must be used here, instead of the test info-plist file. Set the Application requires iPhone environment item in the plist file to YES. If not, add this item and set it to YES.
4. click Product --> Scheme --> Edit Scheme, select Archive on the Left bar, and set Build Configuration to the Profile you added (ad-hoc Profile here ), click close.
5. select target as Device. If you do not select Device, Archive cannot be clicked in Product. Set
6. Click Product --> Archive. If it succeeds, the Organizer -- Archives interface is displayed. Select Export.
7. After the page is displayed, select Save for Ad Hoc Deployment and click next.
8. Select the development team account and click choose.
9. Check the relevant release information and click Export to generate the ipa file.
10. Select a location for the ipa file of the application and name the ipa file. This completes generating the ipa file using Ad-hoc.
11. Double-click the ipa file and add it to iTunes. Then, you can use iTunes to install the application. The ipa file generated in the previous step can be sent to the customer. Even if the customer does not have a Mac, only the windows computer needs to double-click the ipa file to add the application to iTunes, click Application> install> synchronize to install the application on the iPhone.