Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

How can I make React Native use the XCode legacy build system?

$
0
0

I'm kind of new to IOS development and especially XCode, I can't manage to find a solution to my problem, so I hope someone here will be able to help me.

Until now I managed to build my react native app in both android and ios but now it's been a few days that I haven't been able to build the ios app anymore, because it uses the "new build system".

I know I have to use the legacy one, which I did previously and it worked fine. But now despite the fact that the "Use legacy build system" option is selected, it still uses the new one when I run "react-native run-ios", which causes several errors and fails the build. This is where I selected the Legacy Build System option

info Launching iPhone 11 (iOS 13.3)
info Building (using "xcodebuild -workspace App.xcworkspace -configuration Debug -scheme App -destination id=AA1BDEDE-F4B6-46B5-95EF-E0428BCE27B8 -derivedDataPath build/App")
....................................................................
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Drinky.xcworkspace. Run CLI with --verbose flag for more details.
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/user/App/ios/build/App

note: Using new build system
note: Planning build
note: Constructing build description
Build system information

I would appreciate any kind of help, even if it's only a link which can give me some informations about it.

Thanks for reading, and don't hesitate to ask me if you need more informations on anything.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>