我在 IOS 设备上使用 expo go 应用程序时遇到问题(Android 可以正常工作)。当我尝试使用
expo start
或 expo start --tunnel
连接到我的项目时,它会抛出以下错误: expo go ios 应用程序中的错误
我想念什么?当我使用 Android 设备打开应用程序时,一切正常。我尝试解决它但没有进展。这是我的 package.json 和 app.json 以及 eas.json:
package.json:
{
"name": "prometeuszai",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.21.0",
"@react-native-picker/picker": "2.4.10",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.9.12",
"@rneui/base": "^0.0.0-edge.2",
"@rneui/themed": "^0.0.0-edge.2",
"axios": "^1.4.0",
"buffer": "^6.0.3",
"expo": "~49.0.15",
"expo-av": "~13.4.1",
"expo-file-system": "~15.4.3",
"expo-privacy-manifest-polyfill-plugin": "^0.0.2",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"firebase": "^9.7.0",
"firebase-admin": "^11.8.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-dropdown-picker": "^5.4.6",
"react-native-media-query": "^2.0.1",
"react-native-progress": "^5.0.1",
"react-native-purchases": "^7.27.1",
"react-native-really-awesome-button": "^2.0.4",
"react-native-sound": "^0.11.2",
"react-native-svg": "^14.1.0",
"react-native-three-dots-loader": "^1.0.1",
"react-native-uuid": "^2.0.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"prettier": "^2.4.1"
},
"private": true
}
app.json:
{
"expo": {
"name": "Prometeusz Ai",
"slug": "prometeuszai",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/bot.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/images/bot.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"plugins": ["expo-privacy-manifest-polyfill-plugin"],
"runtimeVersion": "@string/expo_runtime_version",
"extra": { "eas": { "projectId": "c5fc9c8a-f854-4529-9c0b-6964b1da2ade" } },
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.kliemk.prometeuszai",
"privacyManifests": {
"NSPrivacyAccessedAPITypes": [
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryFileTimestamp",
"NSPrivacyAccessedAPITypeReasons": ["CA92.1"]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryDiskSpace",
"NSPrivacyAccessedAPITypeReasons": ["CA92.1"]
}
]
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/bot.png",
"backgroundColor": "#ffffff"
},
"package": "com.kliemk.prometeuszai"
},
"web": {
"favicon": "./assets/images/bot.png"
}
}
}
eas.json:
{
"cli": {
"version": ">= 3.16.0"
},
"build": {
"development": {
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleDebug"
},
"ios": {
"buildConfiguration": "Debug"
}
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}
谢谢您的帮助!
我希望像在 Android 上一样在 IOS Expo Go 应用程序上打开应用程序。
都被搞砸了。我们必须将我们的项目更新到 51 届世博会……reddit 上有一篇关于此的文章。一群人整天都在更新依赖项