Provisioning profile "" doesn't support the Apple Pay and Wallet capabilities解决办法

 
 

项目需要使用两个bundle id打包,一个对应个人开发账号,另一个对应企业开发账号,个人开发账号支持Wallet和Apple Pay,但是企业开发账号不支持这两个Capability,使用企业证书打包的时候,报错:Provisioning profile “企业证书” doesn't support the Apple Pay and Wallet capabilities.Code Signing Error: Provisioning profile "企业证书" doesn't include the com.apple.developer.in-app-payments and com.apple.developer.pass-type-identifiers entitlements.

解决办法如下:1)关闭Apple Pay Capability2)删除.entitlements文件的Pass Type IDs 如下图

屏幕快照 2017-09-25 下午5.41.33.png

3)Build一下...

最终,Capabilities中会变成这样:


如果Build仍然不成功,再次重复以上步骤,多试几次就可以了注意:这种方法,只能解决你无法打包的问题,打出来的包Apple Pay功能是无法正常使用的。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值