Before the iOS certificate is very unclear, Xcode also has a variety of certificates, as an obsessive-compulsive cancer, it is not tolerated
While you're ready to release your first app, comb this piece of content
This article mainly refers to these articles:
iOS development: Creating a real-Machine debug Certificate
Http://jingyan.baidu.com/article/ff411625b8141312e48237a7.html
How to clear the Mobileprovision file inside Xcode
http://www.shuizhongyueming.com/2014/04/how-to-clear-mobileprovision-file-in-xcode/
iOS app app release to App Store process
Http://www.seanyxie.com/ios-app application published to App-store process/
--------------creating a real-Machine debug certificate --------------
First, certificates
Authorizing a Mac to allow real-computer debugging
Type
"IOS Distribution" issued an authorization certificate
"IOS Development" debug License Certificate
1. Get a certificatesigningrequest.certsigningrequest file from your Mac and upload
2. Generate a ios_development.cer, download, double-click Install
This completes the authorization for Mac real-machine debugging.
Second, the Identifiers under the App IDs
For our project to create a sign, commonly known as signature, only to meet the mark of the project to real machine debugging
Two kinds of signature methods:
1. Explicit App ID: Accurate (fixed mark), such as Com.xuyang.HouseLoanCal
2. Wildcard App ID: Generic (generalized indication), such as com.xuyang.*
Third, Devices
Add devices that allow real-computer debugging, such as iphone, ipad, and more
Requires the UDID of the device
Iv. Provisioning Profiles
Add a Certificate
1. Select the logo (or signature) we created
2. Select our authorized computer
3. Select the devices we need to debug on the real machine
4. Take a name for the certificate
5. Generate the certificate, download it, is a file named Houseloancal.mobileprovision, double-click the installation
We downloaded a total of two files
1. Ios_development.cer
2. Houseloancal.mobileprovision
In Xcode configuration
Code Signing Identity selected is certificates
Provisioning profile selected is Provisioning Profiles
-------------- publish App Store --------------
Speak directly
1. These four blocks are mentioned above, noting that certificates and Provisioning Profiles are of type
2. The aforementioned real-machine debugging, the creation of iOS development, that is, the development of certificates; now we need to create an iOS distribution, which is to publish the certificate;
3. The middle two apps IDs and Devices can be reused
4. Certificates corresponds to two ios_development.cer files, after installation can be accessed in keychain-certificate see
5. Provisioning Profiles corresponds to two. mobileprovision files, which can be seen in two places after installation
Method One:
CD ~/library/mobiledevice/provisioning\ Profiles
Here you can see all the. mobileprovision files, if there are redundant certificates you want to delete, you can delete them here, but the disadvantage is to see the file name does not show which one (this should be done encrypted)
Method Two:
Xcode-preferences-accounts-Check your Apple Ids-view Details
If all the. mobileprovision files are deleted in the first method, we can still add the. Mobileprovision in our account here.
IOS certificate, real-computer debugging, publishing App Store