I'm mantaining a React Native app written with v0.63.2 of the framework.
In order to develop for iOS 15 I have upgraded XCode to v13 and I saw that the xcrun was deleted (it was already deprecated in XCode 12).
That command was needed by react-native to start by app for local development. 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.
Here I have two questions:
xcrun command ?There was an issue on the build for Xcode 13 here https://github.com/facebook/react-native/issues/31733
Fix:
Replace this line (in the project.pbxproj):
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
by this one:
"\"$(SDKROOT)/usr/lib/swift\"",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With