ERROR ITMS-90045: Invalid Code Signing Entitlement

2019-08-25 09:54发布

问题:

This error popped up when I tried to upload my .ipa to the App Store. I tried to Clean the project in Xamarin and regenerate all the provision files but still, doesn't solve the issues.

回答1:

change Entitlements.plist to this

<plist version="1.0">
  <dict>
    <key>aps-environment</key>
    <string>production</string>
  </dict>
</plist>


回答2:

This fix worked for me using Visual Studio for Mac v7.7 Your provisioning profile and signing identity must be set up on IDE correctly:

  1. Go to Project Options -> iOS Bundle Signing.
  2. Choose Release on Configuration spinner. iPhone for Platform spinner too.
  3. Change Info.plist option by Entitlements.plist on Custom Entitlements field.

Build iPA.