【发布时间】:2021-12-31 06:11:47
【问题描述】:
我已升级 Xcode 版本 13。尝试运行 ios 应用程序时开始出错,并且构建总是失败。
如果我选择选项 legacy build System 它会抛出错误: 旧版构建系统将在未来的版本中移除。您可以在文件 > 工作区设置中配置选定的构建系统和此弃用消息。
如果我选择 New Build System 它会抛出错误:**多个命令产生 '/Users/username/Library/Developer/Xcode/DerivedData/Project-fqdjurlyjvhihgfubhiaayzhaadv/Build/Products/Debug-iphonesimulator/myproject.app/AntDesign。 ttf':
- 目标“项目”(项目“项目”)具有从“/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'
- 该命令取决于目标“项目”(项目“项目名称”)中的命令:脚本阶段“[CP] 复制 Pods 资源” **
我都试过了:
- 删除了 repo 并再次克隆了它
- pod 是否再次安装
- 从构建阶段删除了一些文件 => 复制捆绑资源
- 删除驱动数据
【问题讨论】:
-
你是怎么解决这个问题的?
标签: ios xcode react-native