![](/img/trans.png)
[英]React Native Making Changes and Updates After Publishing iOS App for TestFlight
[英]React Native how to revert back to development mode after publishing the app
我剛剛將我的 ios 應用程序提交到應用程序商店(使用 react-native 構建)。 由於我不得不將應用程序移動到發布,我不得不在 Xcode 中進行一些更改,例如禁用 ATS、調試模式等,我進行了很多更改。 現在我想進行下一次更新,但我不確定如何恢復我更改的所有選項。 有人可以告訴我如何做到這一點嗎?
只需簡單的兩步:
將方案發布更改為調試:更改方案只需轉到Product->Scheme->Edit Scheme
並將構建配置更改為調試
在AppDelegate.m
更改jsCodeLocation
路徑。 那是
//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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.