Sunday, March 20, 2016

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.

TLDR;





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.