简体   繁体   English

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

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

I have upgraded Xcode version13.I started getting error trying to running ios app and the build always gets failed.我已经升级了 Xcode 版本 13。尝试运行 ios 应用程序时开始出错,并且构建总是失败。

if I choose the option legacy build System it throws error: The Legacy Build System will be removed in a future release.如果我选择选项 legacy build System 它会抛出错误: Legacy Build System 将在未来的版本中被删除。 You can configure the selected build system and this deprecation message in File > Workspace Settings .您可以在 File > Workspace Settings 中配置选定的构建系统和此弃用消息

If I choose New Build System It throws error: **Multiple commands produce '/Users/username/Library/Developer/Xcode/DerivedData/Project-fqdjurlyjvhihgfubhiaayzhaadv/Build/Products/Debug-iphonesimulator/myproject.app/AntDesign.ttf':如果我选择 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. Target 'Project' (project 'Project') has copy command from '/Users/username/Desktop/Project/employee-mobile-app/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' to '/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'
  2. That command depends on command in Target 'Project' (project 'project Name'): script phase “[CP] Copy Pods Resources” **该命令取决于目标“项目”中的命令(项目“项目名称”):脚本阶段“[CP] 复制 Pods 资源”**

what all I have tried:我所尝试的一切:

  1. deleted repo and cloned it again删除回购并再次克隆
  2. did pod install again是否再次安装了 pod
  3. removed some file from Build Phase => copy bundle Resource从构建阶段删除了一些文件 => 复制捆绑资源
  4. Delete Drived data删除云端硬盘数据

在此处输入图像描述

Choose the option " Don not show a diagnostic issue about build system depreciation "选择选项“不显示有关构建系统折旧的诊断问题

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

相关问题 在 xcode 10.1 上制作的 iOS 应用程序会在 iOS 版本 13 或更高版本上运行吗? - Will iOS app made on xcode 10.1 run on iOS version 13 or later? React Native 应用在 IOS 13 版本设备中崩溃 - React native app crashes in IOS 13 version devices React Native IOS 应用程序在 IOS 版本 15 和 14 上运行良好,但在 IOS 12 和 13 的初始屏幕上崩溃 - React Native IOS App works fine on IOS version 15 and 14 but crashes on splash screen for IOS 12 and 13 React Native:使用 Xcode 与`react-native run-ios` 运行应用程序有什么区别? - React Native: What is the difference between running app with Xcode vs `react-native run-ios`? 如何在 XCode 13 中运行 react native 0.63 应用程序? - How to run react native 0.63 applications in XCode 13? 无法使用 Xcode 13 在 React Native projet 上运行 pod install - impossible to run pod install on React native projet with Xcode 13 是否可以在Xcode 10中运行新的IOS版本? - Is it Possible to Run new IOS version in Xcode 10? React Native 应用程序未在 XCode iOS 模拟器中运行 - React Native app not running in XCode iOS simulator 运行React Native应用程序而不启动Xcode? - Run a React Native app without launching Xcode? Xcode iOS 发布版本不断归档旧版本的 React 本机应用程序 - Xcode iOS Release build keeps archiving old version of React native app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM