Reputation: 3234
I just submitted my ios app to the app store (built using react-native). As I had to move the app to release, I had to make some changes in Xcode, like disable ATS, debugging mode etc, I have made a lot of changes. Now I want work on the next update but I am not sure how I can revert back all the options I have changed. Can someone please tell me how I can do this?
Upvotes: 2
Views: 1769
Reputation: 21
There are only simple 2 steps:
Change scheme release to debug :
to change scheme Just goto Product->Scheme->Edit Scheme
and change build configuration to Debug
In AppDelegate.m
change jsCodeLocation
path.
that is
//this is for release scheme
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
//this is for debug scheme
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
//this is what you want
Upvotes: 2