gpt4 book ai didi

ios - React Native、AwesomeProject、react-native run-ios : ** BUILD FAILED **

转载 作者:可可西里 更新时间:2023-11-01 03:48:44 24 4
gpt4 key购买 nike

我尝试用 AwesomeProject 运行我的第一个 React Native...在“react-native run-ios”之后我得到了:

** BUILD FAILED **

The following commands produced analyzer issues: Analyze RCTLocationObserver.m (1 command with analyzer issues)

The following build commands failed: CompileC /Users/nicolasjoly/Devel/AwesomeProject/ios/build/Build/Intermediates/RCTWebSocket.build/Debug-iphonesimulator/RCTWebSocket.build/Objects-normal/x86_64/RCTSRWebSocket.o RCTSRWebSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler Analyze RCTLocationObserver.m CompileC /Users/nicolasjoly/Devel/AwesomeProject/ios/build/Build/Intermediates/RCTNetwork.build/Debug-iphonesimulator/RCTNetwork.build/Objects-normal/x86_64/RCTNetworkTask.o RCTNetworkTask.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (3 failures) Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.app No devices are booted. Print: Entry, ":CFBundleIdentifier", Does Not Exist /Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/node_modules/promise/lib/done.js:10 throw err; ^

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AwesomeProject.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist

at checkExecSyncError (child_process.js:464:13)
at Object.execFileSync (child_process.js:484:13)
at _runIOS (/Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/local-cli/runIOS/runIOS.js:82:34)
at /Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/local-cli/runIOS/runIOS.js:24:5
at tryCallTwo (/Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/node_modules/promise/lib/core.js:45:5)
at doResolve (/Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/node_modules/promise/lib/core.js:200:13)
at new Promise (/Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/node_modules/promise/lib/core.js:66:3)
at Array.runIOS (/Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/local-cli/runIOS/runIOS.js:23:10)
at Object.run (/Users/nicolasjoly/Devel/AwesomeProject/node_modules/react-native/local-cli/cliEntry.js:88:13)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:88:7)

谢谢你的帮助!!

最佳答案

尝试运行 react-native upgrade 然后对所有订阅消息说"is"。之后,再次尝试 react-native run-ios

关于ios - React Native、AwesomeProject、react-native run-ios : ** BUILD FAILED **,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38028137/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com