From: http://mobile.51cto.com/iphone-278593.htm
XcodeTutorialXcode4Release TestArchiveThe operation is the content to be introduced in this article, the last step to release the testPackage(Archive),Xcode4The help document is described in detail, but it is incorrect.
1. Set "build Settings", which is an official document. Pay attention to the red box and say the opposite.
"Skip install" must select No. Otherwise, the organizer will not be able to see yourProgramFor some time, I had a bunch of questions on Foreign Forums and said that I had done it according to the official documents. How can I see the program in organizer.
1.1 select an ad hoc certificate. In the "code signing" column, selectArticle("IOS program Release Test 3-generate ad hoc Certificate") generated release certificate (ad hoc), such,
Select "iPhone distribution" instead of "iPhone development". Otherwise, a certificate error will be reported in the following archive steps.
2. Edit scheme and choose product> edit scheme from the menu, as shown in,
In the red box, select the iOS device and release.
3. archive. Choose product> archive. In the organizer window, you can view your program,
Then click "share" to publish (SHARE)
4. Share
Select the first "iOS app store package" to generate the. IPA file. Your tester can be installed using iTunes. The last archive requires the recipient to install xcode.
1. iOS provisioning portal and iTunes connect are not changed. download and install the. leleprovision file and the previous one.
2. xcode 4 integrates all in one with organizer and Application Loader.
Xcode4 adopts the run/build scheme concept and refers to the previous compilation options, such as device/simulator and IOS version.
When releasing an application, you need to select iOS device:
Select application target and 'ios device'
Click Edit scheme... to edit the archive option. Its default compilation configuration is release and the archive is displayed in Organizer:
Modify Scheme
3. Check the compilation configuration file: product name, info. plist, version, target device family, IOS deployment target, code signing identity etc. (This is consistent with xcode 3. X ).
4. Go to the product menu-> archive, and then the organizer will automatically pop up.
The archive package is used to upload data to the appstore.
Xcode4 frees you from worrying about where the compiled and released packages are. You only need to manage them in organizer.
Of course, you can configure the storage location of the program in xcode> preferences> locations tab.
5. Select archive in organizer to verify and upload the file.
Validate and submit your app to appstore
6. After the app is successfully uploaded, the archive status changes to submitted.
Note: In organizer, "share application" is the release of a hoc package. A. IPA file is generated and can be used for real-machine testing.
Summary:XcodeTutorialXcode4Release TestArchiveThe operation is complete. I hope this article will help you!