我正在开发一款iOS应用(仅适用于iPhone),试图让其他人测试。通过 Ad hoc 分发,在我的设备上安装该应用没有任何问题。但在其他人的设备上安装时,总是提示“xxxxx 在此时无法安装”。我正在使用 xcode 5。
以下是我遵循的步骤:
以下是我遵循的步骤:
- Add the device's UDID to the existing Ad hoc provisioning profile in the developer portal
- Download that provisioning profile and drag that to the xcode organizer
- Under code signing->provisioning profile->release, choose the Ad hoc provisioning profile. Under code signing identity->release, choose the distribution certificate from the Ad hoc profile. I set the provisioning profile (debug) to none and set the code signing identity(debug) to 'don't code sign'.
- Build the app and create an archive.
- Click the Distribute button in Organizer. Choose "Save for Enterprise or Ad Hoc deployment" and then select the Ad hoc provisioning profile.
- Click export and check "save for enterprise distribution". Fill in the application url and title.
Upload the ipa and plist file to a server. Create an index page which contains a link to the plist file. The link looks like this:
<a href="itms-services://?action=download-manifest&url=http://mydomainname/apps/myappname.plist">Install Application</a>
Send the url of the index page to the tester.
我有遗漏吗?我尝试删除了手机上的所有配置文件,然后通过点击“安装应用程序”链接来安装应用程序,没有出现问题。我注意到一个奇怪的事情是,安装在另一个人的iPhone上的Ad Hoc配置文件的状态为“未找到有效签名标识”,团队显示为“未知”。我看到有人提到了“代码签名授权”。如果我将其留空,会有影响吗?