繁体   English   中英

无法在新的 Xcode 版本 13 上运行 React 本机 IOS 应用程序

[英]Not able to Run React native IOS App on new Xcode version 13

我已经升级了 Xcode 版本 13。尝试运行 ios 应用程序时开始出错,并且构建总是失败。

如果我选择选项 legacy build System 它会抛出错误: Legacy Build System 将在未来的版本中被删除。 您可以在 File > Workspace Settings 中配置选定的构建系统和此弃用消息

如果我选择 New Build System It throws error: **Multiple commands generate '/Users/username/Library/Developer/Xcode/DerivedData/Project-fqdjurlyjvhihgfubhiaayzhaadv/Build/Products/Debug-iphonesimulator/myproject.app/AntDesign.ttf':

  1. 目标“项目”(项目“项目”)具有从“/Users/username/Desktop/Project/employee-mobile-app/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf”到“/Users”的复制命令/username/Library/Developer/Xcode/DerivedData/Project-fqdjurlyjvhihgfubhiaayzhaadv/Build/Products/Debug-iphonesimulator/myproject.app/AntDesign.ttf'
  2. 该命令取决于目标“项目”中的命令(项目“项目名称”):脚本阶段“[CP] 复制 Pods 资源”**

我所尝试的一切:

  1. 删除回购并再次克隆
  2. 是否再次安装了 pod
  3. 从构建阶段删除了一些文件 => 复制捆绑资源
  4. 删除云端硬盘数据

在此处输入图像描述

选择选项“不显示有关构建系统折旧的诊断问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM