Xcode tutorial Xcode4 release test package Archive operation

Source: Internet
Author: User

XcodeTutorialXcode4Release TestArchiveThe operation is the content to be introduced in this article, the last step to release the testPackageArchive),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 be selected NO. Otherwise, after the following packaging steps, Organizer will not see your program, so it will take me some time and there will be a bunch of problems in Foreign Forums, said that I followed the official document and how the Organizer could not see the program.

1.1 select an ad hoc certificate. In the "Code Signing" column, select the generated ad hoc certificate in the article "iOS program Release Test 3-generate an ad hoc Certificate"), as shown in,

Select "iPhone Distribution" instead of "iPhone Development". Otherwise, Archive will be packaged below) to report a certificate error.

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. Package Archive. Select Product> Archive. In the organizer window, you can view your program,

Then click "share" to publish the 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!

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.