XCODE5 real-Machine commissioning and release application

Source: Internet
Author: User

One, XCODE real machine test

XCODE5 has been very smart, just generate a development certificate, after installation, the insertion device will be added automatically, note that when the Mac system is upgraded, the certificate needs to be regenerated.


Certificate Generation steps:


1, generate Certificatesigningrequest.certsigningrequest file, in the Creator Center to generate the development certificate needs

Keychain Access-"certificate assistant-" request a certificate from a certification authority


Fill in our developer account, select Save to disk, click Continue, generate the above file.


2. Generate the Developer certificate:

IOS app Development Menber Center, certificates, development


The rest is relatively simple, this developer certificate can only generate two, that is, only two computers for development, real-machine debugging requires a private key on the Mac,


That is, one copy of each computer that is exported above.

After the certificate is generated, it is downloaded and the double-click is already installed, so it can be debugged by the real machine. Of course this is under XCODE5, if the earlier version can be


You can also import the PP for the device. Note: Restart the computer after installing the developer certificate to take effect! If you finish the above steps still can't be debugged, still need to put your phone

Added to the device.



Second, release application to AppStore


What to publish App essentials:
1. App ID and bundle ID created for app in developer Center.


Member Center, Identifiers, APP IDS +


(Fill in name,name for oneself to use the name, generally use project name)


(Fill in the bundle ID, this ID naming rule is: com.sjyt.*,* is generally true into the project name convenient difference, this ID will be in


Introduction to the place of use)


2, Generate Release PP (PP is provisioning Profiles abbreviation)


APP Store--member Center, Provisioning Profiles, distribution-


> select App ID (This is the first step to register)-"Select Certificates (this option is more important, this must be selected the latest


Certificates, it will be due to the system upgrade or replacement of the machine, so must ensure that certificates is the latest generation of the machine, seemingly a developer account


Only two certificates can be generated, and it is not clear how the deletion will affect the previously released game. )-"Profile Name" (Finally, take a easily understood


White names such as ppdistribution*)


With these two magic weapons, we can publish the program:


Xcode-Product-Archive


Archive successful, will enter the Organizer Archives management interface, select the generated app, there are validate and


Distribute,distribute is to be submitted to Apple to examine, of course, before you need to add an app in itunes. Distribute before you go.


Validate See what problem did not pass, validate success after distribute.


Problems:


1, archive Gray is not available


This only needs to be selected as iOS device in the location of the iOS simulator and iOS device. (You will need to select the True when debugging


Machine or simulator that place)


2, there is no picture resources to find


This general workaround is to see if the resource is normal, useful, re-added, etc., and try some methods.


The best way to come up with an unknown problem is to Goole.

XCODE5 real-Machine commissioning and release application

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.