我遇到了一个奇怪的问题,我没有更改 expo app.json 中的任何 expo 设置,突然 Apple 拒绝存档,原因如下:
错误 ITMS-90164:“无效的代码签名权利。应用程序包签名中的权利与配置文件中包含的权利不匹配。根据配置文件,包包含不允许的键值:'[ ]' 用于“Payload/ExpoKitApp.app/com.company.appname”中的密钥“com.apple.security.application-groups”。
我的世博会配置如下所示:
{
"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 …Run Code Online (Sandbox Code Playgroud) entitlements ios provisioning-profile expo app-store-connect