The following build commands failed:
CpHeader /Users/myname/Library/Developer/Xcode/DerivedData/MyApp-eclfaotwufydlccnbbpdrgkgblbf/Build/Products/Debug-iphonesimulator/React-jsi/jsi.framework/Headers/JSCRuntime.h /Users/myname/Desktop/MyApp/node_modules/react-native/ReactCommon/jsi/JSCRuntime.h (in target 'React-jsi' from project 'Pods')
(1 failure)
字符串
我得到这个错误的最后3days,无法弄清楚这是什么,以及如何修复它.我甚至猜不出这个错误是什么。我看到许多其他职位和他们的错误信息大多是关于失踪的jsi文件。
(我没有使用expo)这是我的package.json
{
"name": "MyApp",
"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": {
"@react-native-firebase/app": "^16.5.0",
"@react-native-firebase/auth": "^16.5.0",
"@react-native-google-signin/google-signin": "^9.0.2",
"@react-native-masked-view/masked-view": "^0.2.8",
"@react-navigation/native": "^6.1.1",
"@react-navigation/native-stack": "^6.9.7",
"@react-navigation/stack": "^6.3.10",
"axios": "^1.2.2",
"react": "18.1.0",
"react-native": "0.70.6",
"react-native-gesture-handler": "^2.8.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"react-native-webview": "^11.26.0",
"react-native-youtube-iframe": "^2.2.2"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "0.72.3",
"react-test-renderer": "18.1.0"
},
"jest": {
"preset": "react-native"
}
}
型
有人知道如何解决这个问题吗?
1条答案
按热度按时间k97glaaz1#
此问题已由
pod install
修复,并重新运行间隔。在此之后,我得到了另一个错误字符串
并通过溶液固定