How to generate .ipa file for react-native?

前端 未结 2 1365
后悔当初
后悔当初 2020-12-11 08:55

I am currently using React-Native version 0.40.0.

Can somebody give me a link on the process and steps on how to generate an .ipa file for ios?? I\'m currently new

相关标签:
2条回答
  • 2020-12-11 09:45

    Try Following

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

    If you do not have a platform variant of index.js, then change the command to target your single index.js:

    react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios
    
    0 讨论(0)
  • 2020-12-11 09:59

    Get .app file : Run this command -> react-native run-ios --configuration=release

    Convert .app to .ipa :

    1. Create folder Payload.
    2. paste .app file into Payload folder.
    3. compress the Payload folder.
    4. change the name you want and put extension as .ipa.
    0 讨论(0)
提交回复
热议问题