简体   繁体   English

iOS App Entitlement'com.apple.developer.payment-pass-provisioning'未在Xcode 9中构建

[英]iOS App Entitlement 'com.apple.developer.payment-pass-provisioning' does not get incorporated in build in Xcode 9

I am developing an App that allows a user to provision a payment pass in the Wallet via the App. 我正在开发一个应用程序,允许用户通过应用程序在钱包中提供付款通行证。 In order to do this you must request Apple to add the following entitlement 为此,您必须请求Apple添加以下权利

com.apple.developer.payment-pass-provisioning 

to your development team such that you can create provisioning profiles with this entitlement. 您的开发团队,您可以使用此权利创建配置文件。

In XCode 8.2 this was working correctly. 在XCode 8.2中,这是正常的。 Uploading an archive to the app store with this entitlement in the provisioning profile would have the entitlement included in the App. 使用配置文件中的此权利将存档上载到应用商店将具有应用程序中包含的权利。 You could verify that the entitlement was there in the summary window before hitting the upload button for the final time. 在最后一次点击上传按钮之前,您可以在摘要窗口中验证权利是否存在。

However, in XCode 9, 9.1 and 9.2 the entitlement does not appear in the summary, and the entitlement is not present in the uploaded App. 但是,在XCode 9,9.1和9.2中,授权不会出现在摘要中,并且授权不会出现在上载的应用程序中。 Has anyone else experienced this problem and has a solution, or is this just an XCode 9 bug. 有没有其他人遇到过这个问题并且有解决方案,或者这只是一个XCode 9错误。

For anyone running into this. 对于任何碰到这个的人。 In XCode 8 the entitlement is added 'magically' to the entitlement file. 在XCode 8中,权利被“神奇地”添加到授权文件中。 In 9 you have to set it yourself in the entitlement file dictionary as a boolean. 在9中,您必须将自己设置在权利文件字典中作为布尔值。

So for example, in your .entitlements add in the following to the Entitlements File Dictionary. 因此,例如,在.entitlements中,将以下内容添加到“权利文件字典”中。

Key: com.apple.developer.payment-pass-provisioning   
Type: Boolean
Value: Yes 

Or in xml view 或者在xml视图中

<key>com.apple.developer.payment-pass-provisioning</key>
<true/>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 com.apple.developer.payment-pass-provisioning 权利缺失错误 - com.apple.developer.payment-pass-provisioning entitlement missing error eas 构建错误:配置文件与 com.apple.developer.networking.wifi-info 权利的权利文件的值不匹配 - eas build error: Provisioning profile doesn't match the entitlements file's value for the com.apple.developer.networking.wifi-info entitlement XCode 12.5 缺少权利 com.apple.developer.associated-appclip-app-identifiers - XCode 12.5 Missing entitlement com.apple.developer.associated-appclip-app-identifiers 如何修复iOS应用中的“ com.apple.developer.associated-domains权利中找不到http”? - How to fix “http not found in com.apple.developer.associated-domains entitlement” in iOS app? 配置文件不包括 com.apple.developer.pushkit.unrestricted-VOIP 权利 - Provisioning profile doesn't include the com.apple.developer.pushkit.unrestricted-VOIP entitlement 配给配置文件“ com.myCompany.myApp”不包括com.apple.developer.authentication-services.autofill-credential-provider授权 - Provisioning profile “com.myCompany.myApp” doesn't include the com.apple.developer.authentication-services.autofill-credential-provider entitlement Xcode 错误 - 配置文件不包括 com.apple.developer.icloud-container-environment 权利 - Xcode Error - Profile doesn't include the com.apple.developer.icloud-container-environment entitlement 使用 com.apple.developer.passkit.pass-presentation-suppression 进行 Xcode iOS 自动代码签名 - Xcode iOS Automatic Code Signing with com.apple.developer.passkit.pass-presentation-suppression Catalyst 应用程序:如何启用 com.apple.developer.default-data-protection 权利? - Catalyst app: How do I enable com.apple.developer.default-data-protection entitlement? taskgated:被终止的应用程序,因为不允许使用com.apple.developer.ubiquity-container-identifiers权利 - taskgated: killed app because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM