[英]Expo App is stuck on splash screen for IOS
I have a react-native built with Expo that is already on the Google play store, Runs perfectly well in the Expo Go app both on IOS and Android.
在将相同的应用程序推送到我的 Apple 开发人员帐户并使用 TestFlight 进行测试后,它不会 go 超过初始屏幕。 下面是我的 package.json 文件
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@eva-design/eva": "^2.1.1",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-community/datetimepicker": "6.1.2",
"@react-native-community/masked-view": "0.1.10",
"@react-navigation/bottom-tabs": "^6.0.4",
"@react-navigation/drawer": "^6.1.3",
"@react-navigation/native": "^6.0.2",
"@react-navigation/stack": "^5.14.5",
"@ui-kitten/components": "^5.1.1",
"@ui-kitten/eva-icons": "^5.1.1",
"apisauce": "^2.1.1",
"expo": "^45.0.0",
"expo-cli": "^6.0.1",
"expo-status-bar": "~1.3.0",
"expo-updates": "~0.13.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-native": "0.68.2",
"react-native-gesture-handler": "~2.2.1",
"react-native-modal-datetime-picker": "^11.0.0",
"react-native-reanimated": "~2.8.0",
"react-native-safe-area-context": "4.2.4",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "~3.11.1",
"react-native-svg": "12.3.0",
"react-native-web": "0.17.7"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true
}
经过多次故障排除后,以下步骤有助于解决问题:
yarn install
我做了所有这些,然后重建了应用程序,在 Testflight 上对其进行了测试,它按预期工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.