首页 > 解决方案 > not able to add .ipa file in iphone device

问题描述

i have generated the .ipa file and trying to add in any iphone device but its not adding.

  1. the error is showing like:- couldnot install(in xcode).
  2. i tried with apple configurator 2:- in this scenario app is installing a bit just assume 75% and after that the app icon is getting grayed out and clicking on that app is giving popup as :- could not install please try later.

  3. somewhere i saw that you have to allow from your device to trust this app, location is like :- settings > general > profile&management > you will find your profile here for new app installing.i didn't get any profile there.

FYI

i am using free developer account and created the xamarin app from windows and building it through mac, the xcode version is 9.4 beta and i also tried to override with xcode version 11.3. i am not getting whether i am missing something or messed up with xcode versioning.

标签: xamarin

解决方案


我正在使用免费的开发人员帐户并从 Windows 创建 xamarin 应用程序并通过 mac 构建它...

如果使用免费的苹果开发者账号,则无法将.ipa文件安装到 iOS 设备上。这是受 Apple 限制的。

关于Xamarin.iOS 中的 IPA 支持,您将看到有以下两种用途:

  • Ad Hoc 测试——一个 iOS 应用程序可以部署到多达 100 个用户(由特定的 iOS 设备 UUID 标识),用于 Alpha 和 Beta 测试。有关将测试 iOS 设备添加到您的 Apple 开发人员帐户的详细信息,请参阅我们的为开发配置 iOS 设备文档,以及有关如何以这种方式分发的更多信息的 Ad-Hoc 指南。
  • 内部/企业部署— iOS 应用程序可以在公司内部部署,这需要 Apple 的 Developer Enterprise 计划的成员资格。有关内部分销的更多信息,请参阅内部分销指南。

在任何一种情况下,都必须创建一个 IPA 包(一种特殊类型的 zip 文件)并使用正确的分发配置文件进行数字签名。

如果使用免费配置,则存在以下限制

  • 对 iTunes Connect 的访问受到限制,因此免费提供应用程序的开发人员无法使用发布到 App Store 和 TestFlight 等服务。Apple 开发者帐户(企业或个人)需要通过 Ad Hoc 和内部方式分发。

因此,如果需要.ipa在 iphone 设备中添加文件,您应该使用付费的 Apple Developer Program 帐户。


推荐阅读