I'm getting a weird issue, I've not changed any expo settings in the expo app.json, and suddenly Apple is rejecting the archive with the following reason:
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: '[]' for the key 'com.apple.security.application-groups' in 'Payload/ExpoKitApp.app/com.company.appname'.
My expo config is as shown below:
{
"expo": {
"name": "App Name",
"slug": "app-name-slug",
"version": "1.1.1",
"orientation": "portrait",
"icon": "./src/assets/icon.png",
"splash": {
"image": "./src/assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#000000"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.company.appname",
"buildNumber": "1.1.1",
"infoPlist": {
"NSCameraUsageDescription": "App Name uses your camera to allow you to upload a profile picture.",
"NSPhotoLibraryUsageDescription": "App Name uses your photos to allow you to upload a profile picture."
}
},
"android": {
"package": "com.company.appname",
"versionCode": 13,
"permissions": []
},
"web": {
"favicon": "./src/assets/favicon.png"
},
"androidStatusBar": {
"barStyle": "light-content",
"backgroundColor": "#042f3d"
},
"androidNavigationBar": {
"barStyle": "dark-content",
"backgroundColor": "#042f3d"
},
"description": ""
}
}
Admittedly this is the first issue I've had with the Apple Review system (this is the first app) so I have no idea where to look. Any help would be appreciated.
Edit: I use expo on windows, and I have App Store Connect.