The Wildcard App ID (Universal AppID) cannot be used until a push is used in the project so the explicit app ID must be used. After setting up the AppID I created the provisioning profile this time when ad hoc is selected as
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/78/B6/wKioL1aCCxqiAjf5AAG264-Wq-M322.png "title=" Qq20151229-0.png "width=" "height=" 510 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:750px;height:510px; "alt=" Wkiol1accxqiajf5aag264-wq-m322.png "/> The generated profile download double-click to install into Xcode. Then the following interface appears after the product->archivearchive is completed
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/78/B6/wKioL1aCDMOAOERwAADGf_SXLAs721.png "title=" Qq20151229-1.png "width=" height= "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:750px;height:350px; "alt=" Wkiol1acdmoaoerwaadgf_sxlas721.png "/>
Select "Save for Ad Hoc Deployment" on the following interface that appears on the export again:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/78/B8/wKiom1aCDKnTPRvjAAFqiVTlCck434.png "style=" float: none; "title=" Qq20151229-2.png "alt=" Wkiom1acdkntprvjaafqivtlcck434.png "/>
Note here to make a special mention in the following interface users need to choose provisioning here can choose the developer of the group that profile can also select "Use local signing assets". Use local signing assets will make the IPA file work with the profile configured on the user Xcode.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/78/B6/wKioL1aCDjOiXkj2AAHzz919iT4437.png "title=" Qq20151229-4.png "width=" "height=" 395 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:750px;height:395px; "alt=" Wkiol1acdjoixkj2aahzz919it4437.png "/>
For example
My group is named "MyCompany", and the code signing I configured in Xcode uses "Hunter_layne_adhoc_profile". If I select "Uselocal signing assets" then it will show
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/78/B8/wKiom1aCEIXz0hQ3AACFcwQAdfE771.png "title=" Qq20151229-5.png "alt=" Wkiom1aceixz0hq3aacfcwqadfe771.png "/>
Everything is ready.
I thought it would be possible to install the IPA file on any iphone, but too young too is completely installed. Baidu has been unable to solve for half a day. And then I found this remark on the creation of provisioning.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/78/B8/wKiom1aCEmCQbVyjAAA3hG7U9hA910.png "title=" Qq20151229-6.png "alt=" Wkiom1acemcqbvyjaaa3hg7u9ha910.png "/>
"... registered devices" means you have to add the iphone to "devices" in advance. The original ad hoc does not allow you to install apps to any iphone but allows you to install apps without using Xcode for "registered devices" remember
This article is from the "Layne Learning Corner" blog, please be sure to keep this source http://laynestone.blog.51cto.com/9459455/1729478
A little experience of ad hoc publishing