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

Changing display name or bundle identifier in Xcode breaks React Native CLI build

$
0
0

I am trying to create separate builds for dev, stage and prod environments for my React Native project. Eventually I want to automate this using Fastlane, however first I want to understand how to do this manually. At this point, I am focusing on iOS only.

If I change the display name and/or the bundle identifier through Xcode, the react-native CLI immediately breaks. However I have been able to do successful builds using xcodebuild. So I am trying to understand where is the disconnect and what is the best way to achieve separate builds for multiple environments. I would like display names like MyApp, MyApp Dev& MyApp Stage. Also bundle identifiers like com.company.myapp, com.company.myapp.dev& comp.company.myapp.stage.

Here's my project on GitHub.

P.S. Several answers on Stackoverflow talk about how to change these fields permanently, however the process seems quite cumbersome and would not scale if I need to do this repeatedly.


Viewing all articles
Browse latest Browse all 16552

Trending Articles



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