React native React本机0.64 iOS版本版本在';绑定本地代码和图像';
说明 你好。由于我已将react本机项目从0.63.4更新为0.64,因此无法在发布模式下在iOS上构建它。 “Bundle React Native code and images”阶段的构建块从未结束 我曾尝试: watchman watch del all,卸载并重新安装watchman 分解和设置cocoapods 使用react本机升级 使用react native upgrade helper手动升级 在Android和iOS调试模式下,一切都按预期运行 生成返回: 运行自定义shell脚本“Bundle React Native code and images” 这个构建阶段永远不会结束 反应本机版本:React native React本机0.64 iOS版本版本在';绑定本地代码和图像';,react-native,React Native,说明 你好。由于我已将react本机项目从0.63.4更新为0.64,因此无法在发布模式下在iOS上构建它。 “Bundle React Native code and images”阶段的构建块从未结束 我曾尝试: watchman watch del all,卸载并重新安装watchman 分解和设置cocoapods 使用react本机升级 使用react native upgrade helper手动升级 在Android和iOS调试模式下,一切都按预期运行 生成返回: 运行自定义she
System:
OS: macOS 11.2.3
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Memory: 290.03 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.1 - ~/.nvm/versions/node/v14.15.1/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.15.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
Android NDK: 20.0.5594570
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7199119
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 11.0.9 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.64.0 => 0.64.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
复制步骤
提供重现问题的详细步骤列表
使用ncu和npm安装将项目更新为RN 0.64
使用react native grade helper逐个更新每个文件
清理构建缓存,看守人监视所有
尝试在模拟器或真实设备的发布模式下编译
预期结果
建造成功
零食、代码示例、屏幕截图或到存储库的链接:
package.json:
"name": "wallstreat_bet",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest", "lint": "eslint ."
},
"dependencies": {
"@bankify/react-native-animate-number": "^0.2.1",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/blur": "^3.6.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-firebase/analytics": "^11.4.1",
"@react-native-firebase/app": "^11.4.1",
"@react-native-firebase/dynamic-links": "^11.4.1",
"@react-native-firebase/in-app-messaging": "^11.4.1",
"@react-native-firebase/messaging": "^11.4.1",
"@react-navigation/bottom-tabs": "^5.11.10",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.4",
"@stomp/stompjs": "^6.1.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"react": "17.0.2",
"react-native": "0.64.0",
"react-native-camera": "^3.43.6",
"react-native-confetti-cannon": "^1.5.2",
"react-native-elements": "^3.4.1",
"react-native-fbsdk": "^3.0.0",
"react-native-flash-message": "^0.1.23",
"react-native-gesture-handler": "^1.10.3",
"react-native-htmlview": "^0.16.0",
"react-native-permissions": "^3.0.3",
"react-native-progress-circle": "^2.1.0",
"react-native-qrcode-generator": "^1.2.2",
"react-native-qrcode-scanner": "^1.5.4",
"react-native-reanimated": "^2.1.0",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.1.1",
"react-native-sound": "^0.11.0",
"react-native-splash-screen": "^3.2.0",
"react-native-vector-icons": "^8.1.0",
"react-native-webview": "^11.4.3",
"react-navigation": "^4.4.4",
"react-redux": "^7.2.4",
"redux": "^4.1.0",
"redux-persist": "^6.0.0",
"reselect": "^4.0.0",
"text-encoding": "^0.7.0",
"uuid-random": "^1.3.2"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/runtime": "^7.14.0",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.25.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.0",
"react-test-renderer": "17.0.2"
},
"jest": {
"preset": "react-native"
}
播客文件: