看到网上很多教程对此类的问题解释竟然出现错误,其原因是没有理解Provisioning Profile、certificates的作用,和代码签名的原理[错误博客地址](http://blog.csdn.net/yuanbohx/article/details/9213879),希望大家可以正确理解
Create an ad Hoc Provisioning Profiles in iOS Dev center first
Build step Reference This is the 2nd step in the fourth stride, select Type-distribution-> Choose ad Hoc, select Continue
1, click the Project icon in Xcode, in the Info->configuration settings, the default is debug and release. Click +, select Duplicate the "Release configuration", to create a new thing name, we recommend the use of "ad hoc distribution"
2. Click the targets icon in the build Settings->code signing.
Where provisioning profile has just been selected profiles, the Code Signing identity under the certificate does not change.
3. Select Product-archive in the menu bar to start archiving (compile)
4. After the archive is complete, the following window will open:
The picture shows the right side of the window
5. Click Export to create an. IPA file:
The generated. IPA file is installed to the corresponding phone via itunes
Copyright NOTICE: This article is for bloggers original article, reproduced please indicate the source.
IOS Ad-hoc Beta release app