我还需要一个用于临时构建的Entitlements.plist文件吗? [英] Do I still need an Entitlements.plist file for an ad-hoc build?

查看:535
本文介绍了我还需要一个用于临时构建的Entitlements.plist文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iOS配置门户网站上分发页面中提供的说明显然仍然描述了在ad-hoc发行版的构建中创建和包含Entitlements.plist文件的过程。 iOS开发指南的分发应用程序页面<另一方面,/ a>没有提到Entitlements.plist文件。



当我尝试按照以下说明构建并存档我们的最新应用程序时iOS开发指南,由于权利问题,最终的ad-hoc app.ipa无法安装在我的开发设备上。当我使用Entitlements.plist文件重建时,新的app.ipa安装得很好。



不幸的是,在app.ipa中包含Entitlements.plist意味着生成的构建不能简单地重新签名并提交到应用商店 - 对吗?相反,我必须在没有Entitlements.plist的情况下重建并将结果提交到应用程序商店。



我想我确实有一些相关的问题:


  1. app.ipa是否按照iOS开发指南中的指示生成(没有Entitlements.plist,只需使用ad-hoc配置配置文件进行签名)安装OK在测试分发配置文件中正确识别的非开发设备上?

  2. 我有没有办法在我的开发机器上测试构建和存档的确切结果,以便我可以重新签名并从Xcode将其提交到App Store?

  3. 如果我提交了明确包含Entitlements.plist文件的app.ipa将被拒绝它?

谢谢!

解决方案

< blockquote>

从Xcode 4.2开始,您不再需要在创建不需要任何特殊许可的应用程序时创建Entitlements.plist文件离子运行。 get-task-allow权利自动设置为true或false,具体取决于您使用(Developer,Ad Hoc或App Store)为应用程序签署的配置文件类型。


ref: http://help.testflightapp.com/customer/portal/articles/535398-invalid-profile-distribution-build-entitlements-must-have -get-task-allow-set-to-false-


The instructions given in the Distribution page on the iOS Provisioning portal clearly still describe the process of creating, and including the Entitlements.plist file in a build for an ad-hoc distribution. The iOS Development Guide's Distributing Applications page, on the other hand, makes no mention of the Entitlements.plist file.

When I tried to "Build and Archive" our latest app following the instructions from the iOS Development Guide, the resulting ad-hoc app.ipa wouldn't install on my development device, due to a problem with the entitlements. When I rebuilt with the Entitlements.plist file, the new app.ipa installed fine.

Unfortunately, including the Entitlements.plist in the app.ipa means that the resulting build can't simply be re-signed and submitted to the app store - Right? Instead, I have to rebuild without the Entitlements.plist and submit the result to the app store.

I guess that I really have a few related questions:

  1. Would the app.ipa produced as directed in the iOS Development Guide (no Entitlements.plist, just sign with the ad-hoc distribution provisioning profile) install OK on a non-dev device that was properly identified in the test distribution provisioning profile?
  2. Is there any way for me to test the exact results of a "Build and Archive" on my dev machine, so that I can just re-sign it and submit it to the App Store from Xcode?
  3. Will an app.ipa that explicitly includes an Entitlements.plist file be rejected if I did submit it?

Thanks!

解决方案

As of Xcode 4.2 you no longer have to create an Entitlements.plist file when creating applications that do not require any special permissions to run. The get-task-allow entitlement is automatically set to true or false, depending on what kind of provisioning profile you sign your application with (Developer, Ad Hoc, or App Store).

ref:http://help.testflightapp.com/customer/portal/articles/535398-invalid-profile-distribution-build-entitlements-must-have-get-task-allow-set-to-false-

这篇关于我还需要一个用于临时构建的Entitlements.plist文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆