[英]How to run react native 0.63 applications in XCode 13?
I'm mantaining a React Native app written with v0.63.2 of the framework.我正在维护一个用 v0.63.2 框架编写的 React Native 应用程序。
In order to develop for iOS 15 I have upgraded XCode to v13 and I saw that the xcrun<\/code> was deleted (it was already deprecated in XCode 12).
为了开发 iOS 15,我将 XCode 升级到 v13,我看到
xcrun<\/code>已被删除(它已在 XCode 12 中被弃用)。
That command was needed by react-native to start by app for local development. react-native 需要该命令来启动应用程序进行本地开发。 As far as I know, to work with iOS 15 I'll have to upgrade to react-native 0.66 and I can't do that right now.据我所知,要使用 iOS 15,我必须升级到 react-native 0.66,我现在不能这样做。
Here I have two questions:这里我有两个问题:
Is there a way to develop with XCode 13 using a version of react-native minor than 0.66 (please note that upgrading to 0.64 or 0.65 is still NOT an option for me)?有没有办法使用小于 0.66 的 react-native 版本使用 XCode 13 进行开发(请注意升级到 0.64 或 0.65 仍然不是我的选择)?<\/li>
Is there a fix \/ equivalent about the xcrun<\/code> command ?
是否有关于xcrun<\/code>命令的修复\/等效项?
<\/li><\/ol>"
There was an issue on the build for Xcode 13 here https:\/\/github.com\/facebook\/react-native\/issues\/31733<\/a> Xcode 13 的构建存在问题https:\/\/github.com\/facebook\/react-native\/issues\/31733<\/a>
Fix: Replace this line (in the project.pbxproj<\/code> ):
修复:替换此行(在
project.pbxproj<\/code>中):
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.