react本机运行ios失败并出现错误:旧版构建系统将在未来版本中删除.您可以配置选定的生成系统



react本机运行的ios不断失败并出现以下错误,将非常感谢您的帮助

react-native run-ios --scheme "xUI" --udid 37C090D5-6637-4C94-9B54-C447A726E80C

error React Native CLI对本机依赖项使用自动链接,但以下模块是手动链接的:-react native vector icons(到unlink run:"react nativeunlink react natual vector icon"(当React Native从低于0.60升级到0.60或更高时,可能会发生这种情况。展望未来,您可以通过";react native unlink";它将自动包含在您的应用程序中。如果库与自动链接不兼容,请忽略此消息并通知库维护人员。阅读有关自动链接的更多信息:https://github.com/react-native-community/cli/blob/master/docs/autolinking.mdinfo Found Xcode工作空间";xUI.xcworkspace";信息构建(使用"xcodebuild-工作空间xUI.xcworkspace-配置调试-方案xUI-目的地id=37C090D5-6637-4C94-9B54-C447A726E80C"(error无法生成iOS项目。我们跑了";xcodebuild";命令,但它退出并返回错误代码65。要进一步调试构建日志,请考虑通过打开x.xcworkspace使用Xcode.app构建应用程序。有关详细信息,请使用--verbose标志运行CLI。命令行调用:/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild-工作区x.xcworkspace-配置调试-方案x-目标id=37C090D5-6637-4C94-9B54-C447A726E80C

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Prepare build
error: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Workspace Settings.
Build Preparation
The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Workspace Settings.

** BUILD FAILED **

The following build commands failed:
Prepare build
(1 failure)

使用任一选项来解决此问题。

1.将其添加到WorkspaceSettings.xcsettings 中

<key>DisableBuildSystemDeprecationDiagnostic</key>
<true/>

2.使用Xcode执行相同的操作:

文件->工作区设置->检查";不要显示关于构建系统弃用的诊断问题";然后单击"完成"。

最新更新