Добрый день, у меня проблемы с пустым приложением для рабочего процесса. Я пытаюсь добраться до тестового полета. Приложение прекрасно компилируется с использованием собственного кода реакции- ios Однако, если я использую флаг --configuration = release, приложение зависает.
Это то же самое, если я собрал его в xcode с установленной схемой для отладки, а затем выпустил.
Если у кого-то есть понимание, было бы замечательно, даже если это способ потенциально отладки сборок релиза.
пакет. json
"main": "index.js",
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"web": "expo start --web",
"start": "react-native start",
"test": "jest",
"build:ios": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios/assets",
"postinstall": "cp node_modules/@expo/vector-icons/FontAwesome.js node_modules/@expo/vector-icons/Fontisto.js"
},
"dependencies": {
"@react-native-community/art": "^1.2.0",
"@react-native-community/masked-view": "^0.1.9",
"@react-navigation/bottom-tabs": "^5.2.5",
"@react-navigation/native": "^5.0.9",
"@react-navigation/stack": "^5.1.1",
"@sentry/react-native": "^1.3.7",
"axios": "^0.19.2",
"expo": "~37.0.3",
"expo-av": "^8.1.0",
"expo-in-app-purchases": "^8.1.0",
"expo-updates": "~0.1.0",
"expo-web-browser": "^8.1.0",
"husky": "^4.2.3",
"lodash": "^4.17.15",
"native-base": "^2.13.8",
"prop-types": "^15.7.2",
"react": "~16.9.0",
"react-devtools": "^4.6.0",
"react-dom": "~16.9.0",
"react-native": "^0.62.2",
"react-native-chart-kit": "^5.4.0",
"react-native-circular-progress": "^1.3.6",
"react-native-fusioncharts": "^4.1.2",
"react-native-gesture-handler": "~1.6.0",
"react-native-modal": "^11.5.6",
"react-native-popover-view": "^2.0.7",
"react-native-popup-menu": "^0.15.7",
"react-native-progress": "^4.1.2",
"react-native-progress-circle": "^2.1.0",
"react-native-reanimated": "~1.7.0",
"react-native-render-html": "^4.2.0",
"react-native-safe-area-context": "^0.7.3",
"react-native-screens": "~2.2.0",
"react-native-svg": "^12.1.0",
"react-native-unimodules": "~0.9.0",
"react-native-web": "~0.11.7",
"react-native-webview": "^9.2.0",
"react-navigation-stack": "^2.3.11",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"styled-components": "^5.0.1"
},
"devDependencies": {
"@babel/core": "~7.9.0",
"@babel/runtime": "^7.9.6",
"@types/react": "~16.9.23",
"@types/react-native": "~0.61.23",
"babel-preset-expo": "~8.1.0",
"dotenv": "^8.2.0",
"jest-expo": "~37.0.0",
"prettier": "^1.19.1",
"typescript": "~3.8.3"
},
"jest": {
"preset": "react-native"
},
"private": true,
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
Приложение. json
"name": "MyApp",
"displayName": "MyApp",
"expo": {
"name": "myapp",
"slug": "my-app",
"privacy": "unlisted",
"version": "1.0.0",
"platforms": [
"ios",
"android",
"web"
],
"icon": "./assets/images/Stress-code_logo-icon-01.png",
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": false,
"bundleIdentifier": "za.co.myapp.v2",
"buildNumber": "1"
}
}
}