how to get offline bunduling of ios in react native

前端 未结 3 583
遇见更好的自我
遇见更好的自我 2021-02-04 17:27

Anyone could you please explain how to generate offline bundle of ios application from \'react native\' code.

Already I tried \"How to generate .ipa file for react-nat

3条回答
  •  难免孤独
    2021-02-04 17:48

    Method 1

    Step one:

    react-native bundle --entry-file index.ios.js --bundle-output ./ios/main.jsbundle --platform ios
    

    Step two:

    react-native run-ios --configuration=release 
    

    This worker for me.

    Method 2 use xcode and change debug to release, like this:

提交回复
热议问题