ERROR ITMS-90163, what you have to do when you get this error in the expo platform
ERROR ITMS-90163: “Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: ‘com.apple.developer.associated-domains’ in ‘Payload/ExpoKitApp.app/YourAppDomain’.”
I got this error when I tried to upload an iOS app binary by the Apple transporter app.
I looked for the web to solve this issue, but could not find a direct answer.
Finally, I solved the problem. Just check the Associated Domains at developer.apple.com.
My app.json has the configuration for Associated Domains like below.
"associatedDomains": [
"applinks:xxxx.com"
]
After you check the Associated Domains configuration in developer.apple.com and then run
$expo build:ios — clear-provisioning-profile
I don’t remember whether I unchecked this Associated Domains, maybe no. Anyway, I spent 2 days on this issue lol.