How to Fix ITMS-90164 Error – ERROR ITMS-90164/90046: Invalid Code Signing Entitlements
Invalid Code Signing Entitlements error in Xamarin app development.
📋 Table of Contents
The ERROR ITMS-90164/90046: Invalid Code Signing Entitlements error occurs when a developer creates an app with entitlements that are not properly configured for code signing. This issue affects developers who use Xamarin to create and distribute iOS apps, particularly those who have recently updated their provisioning profiles or made changes to their app's entitlements.
This error can be frustrating as it prevents the app from being successfully submitted to the App Store or installed on devices. However, by following this troubleshooting guide, you should be able to resolve the issue and get your app up and running again.
💡 Why You Are Getting This Error
- The primary reason for this error is that the entitlements in the Distribution Provisioning Profile do not match the entitlements specified in the Info.plist file of the app. This can occur when changes are made to the provisioning profile or when the entitlements are not properly updated.
- Alternatively, the issue may be caused by a mismatch between the App ID and the Bundle Identifier used in the app's Info.plist file.
🛠️ Step-by-Step Verified Fixes
Updating Entitlements in Distribution Provisioning Profile
- Step 1: Open the Xcode project and navigate to the 'Product' menu. Select 'Archive' to create an archive of the project.
- Step 2: Go to the 'Certificates, IDs & Profiles' tab in the Organizer window and select the Distribution Provisioning Profile associated with your app. Click on the 'Edit' button to edit the profile.
- Step 3: In the Entitlements section, update the entitlements that do not match the Info.plist file of the app. You can find a list of valid entitlements in the Apple Developer documentation.
- Step 4: Save the changes and click 'Done' to close the editor.
Updating App ID and Bundle Identifier
- Step 1: Open Xcode and navigate to the 'Product' menu. Select 'Archive' to create an archive of the project.
- Step 2: Go to the 'Certificates, IDs & Profiles' tab in the Organizer window and select the Distribution Provisioning Profile associated with your app. Click on the 'Edit' button to edit the profile.
- Step 3: In the App ID section, update the Bundle Identifier to match the one specified in the Info.plist file of the app.
- Step 4: Save the changes and click 'Done' to close the editor.
🎯 Final Words
To resolve the ERROR ITMS-90164/90046: Invalid Code Signing Entitlements error, it is essential to update the entitlements in the Distribution Provisioning Profile or update the App ID and Bundle Identifier. By following these steps, you should be able to successfully submit your app to the App Store or install it on devices.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Stuck in tutorial hell after 4 years: How do I b
Fix Stuck in tutorial hell after 4 years: How do I bui. Practice build
How to Fix: Trying to sync mutliple audio tracks to a movie
Fix Trying to sync mutliple audio tracks to a movie bu. Consider using
How to Fix: Failed to merge latest branches from upstream re
Fix Failed to merge latest branches from upstream repo. Try running 'g