xcode 无法在设备上安装 ipa

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28960888/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:48:03  来源:igfitidea点击:

Cannot install ipa on device

iosxcodeprovisioningipaxcode5.1

提问by Rai King

I have signed a code with a distribution provisioning profile but when I generated the ipa in XCode 5.1 (Save for Enterprise/Adhoc Deployment), the app does not install in my device. I have checked that the distribution profile is properly aligned to the production certificate that is installed in my Macbook. Any reasons or solutions so that I can install my app? Thanks!

我已经使用分发配置文件签署了一个代码,但是当我在 XCode 5.1(保存为企业/临时部署)中生成 ipa 时,该应用程序没有安装在我的设备中。我已检查分发配置文件是否与我的 Macbook 中安装的生产证书正确对齐。任何原因或解决方案,以便我可以安装我的应用程序?谢谢!

回答by iphonic

Make sure you are using Adhoc Distribution Provisioning Profile, not AppStore Distribution Provisioning Profile. AppStore Distribution Profile is required to distribute app from App Store, in your case you need to do following things in your Developer Account.

确保您使用的是Adhoc Distribution Provisioning Profile,而不是AppStore Distribution Provisioning Profile。从 App Store 分发应用程序需要 AppStore Distribution Profile,在您的情况下,您需要在您的Developer Account 中执行以下操作。

  1. Add your Device in Devices List.
  2. Create an Adhoc Distribution Provisioning Profile.
  3. Select and check all the Devices listed.
  4. Sign with the Distribution Certificate, and Adhoc Profile.
  5. Create Adhoc Build, create IPA, and install.
  1. 在设备列表中添加您的设备。
  2. 创建临时分发配置文件。
  3. 选择并检查列出的所有设备。
  4. 使用分发证书和临时配置文件签名。
  5. 创建 Adhoc Build、创建 IPA 并安装。

Visit Apple Docfor more information.

访问Apple Doc了解更多信息。

Hope it helps.

希望能帮助到你。

Cheers.

干杯。