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

How can I configure which xcodebuild tool version is run when running react-native run ios?

$
0
0

After upgrading to Xcode 12, I discovered a project dependency in my larger react-native workspace needs some work to address unsupported architectures.

Until then, I want to continue working on the react-native app, so I installed Xcode 11.7 side-by-side with Xcode 12.

This works fine unless I try to start the app via the CLI tool. It appears the project is still being built by Xcode 12 (the same unsupported architecture errors I saw at compile time are output to the terminal).

which xcodebuild points to /usr/bin/xcodebuild.

What do I need to modify to have version 11.7 run the build command instead of version 12?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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