【发布时间】:2021-12-25 03:12:32
【问题描述】:
一直试图在 VS Code 中运行启动 AwesomeProject 文件,但每次我运行 npx react-native run-ios...都会出现下面的构建失败。浏览了这里的堆栈、cmets 和问题,但我找不到任何适用的内容。
尝试更改我的终端和 Xcode 以使用 Rosetta 加载,但那里也出现错误...
softwareupdate --install-rosetta
Installing Rosetta 2 on this system is not supported.
Not sure where to go from here...
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/********/Library/Developer/Xcode/DerivedData/AwesomeProject-ekivgffrflagyugqmoefmykxoyqy/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-337605CB7CDF90939BEBF863ED22C375.sh (in target 'FBReactNativeSpec' from project 'Pods')
(1 failure)
info Run CLI with --verbose flag for more details.
【问题讨论】:
标签: node.js reactjs react-native visual-studio-code