我已经使用expo init创建了一个应用,并且所有应用都在开发模式下运行良好,但是当我切换到生产模式时,出现了一个我找不到原因的错误。我尝试更新expo-cli,expo,npm start --reset-cache,但没有任何效果。
我的app.json看起来像这样
{
"expo": {
"name": "FitUp",
"slug": "FitUpApp",
"privacy": "public",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "br.com.harbsti.fitupapp"
},
"android": {
"package": "br.com.harbsti.fitupapp"
}
}
}