在 iPhone 上安装发布应用程序
我在 Xcode 4.x 中创建了一个应用程序,现在可以发布了。 所以我为它创建了一个分发配置文件并将其添加到 xcode 中。
我还在 Project
和 Target
构建设置中选择了该配置文件。
我还通过一项设置将 Entitlements.plist 添加到了项目的根目录中:
"get-task-allow" -> "NO"
之后我清理了项目。清洁完成后,我单击产品 ->存档
以构建 .IPA 文件。
我尝试通过 iTunes 在我的 iPhone 上安装 IPA 文件,但出现错误:
“应用名称”安装失败
所以基本上我现在的问题是。是否可以安装这样的发行版本?还是还有其他问题......?
附言。 整个项目是使用 PhoneGap/Xcode 创建的。不知道这是否有什么区别
I created an app in Xcode 4.x and it's now ready for release.
So i created a distribution profile for it and added that to xcode.
I also selected that profile in both the Project
and Target
build settings.
I also added an Entitlements.plist to the root of my project with just one setting:
"get-task-allow" -> "NO"
After that i cleaned the project. When the cleaning was done i clicked on Product -> Archive
to build an .IPA file.
I tried to install the IPA file on my iphone through iTunes but i got the error:
'App name' failed to install
So basically my question now is. is it even possible to install a release version like this? Or is there another problem...??
PS.
The entire project is created with PhoneGap/Xcode. Don't know if that makes any difference
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否记得将 iPhone 添加到您正在使用的 Ad Hoc 分发配置文件中?如果是这样,请检查您的应用程序和配置文件之间的包说明符是否匹配。
Did you remember to add your iPhone to the Ad Hoc distribution profile you're using? If so, check that the bundle specifier matches between your application and profile.