ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature

http://www.ifzero.net/2016/03/error-itms-90164-bundle-contains-key.html
1、ERROR ITMS-90164 … the bundle contains a key value that is not allowed: ‘true’ for the key ‘get-task-allow’

You’re trying to upload your iOS app to the App Store and you keep getting this mysterious error:

ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: 'true' for the key 'get-task-allow' in ...

Maybe you’ve successfully uploaded the same app before. Maybe git proves that nothing has changed with your entitlements, code signing, or the provisioning profile you’re using. You’re probably frustrated.

Somehow the Code Signing Identity for Release had switched to development. You can find this in the Build Settings for each target. In the project file. Make the settings look like the above screenshot and you should be set.(那个图我看不到),后来用了下面的“2”的解决方法。

2、I keep getting this message: ‘Invalid Profile: distribution build entitlements must have get-task-allow set to false.’

方法:Heh, i suddenly found that Code Signing Identity for Release build was changed to iOS Developer. You should change it to iOS Distribution. If it doesn’t fix your problem, set Provisioning profile for Release build.

Update: Sometimes XCode doesn’t apply this changes and restarting of XCode could help. Anyway before uploading to Testflight I strongly recommend you to check build logs. You should find this line “Using code signing identity” and see if XCode use the right Code Identity (distribution) to sign. It could save you a lot of time.

3.其他方法,别人成功的
(1)In my case (sorry) I switched “Team” to “None” in -> General -> Identity
(2)Turns out the Code-Signing Identity in my build configuration didn’t match the one I selected when I saved the archive for Ad-Hoc distribution.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序员的修养

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值