Search code examples
react-nativereact-native-ios

How to generate .ipa file for react-native?


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 to react-native.

Btw I'm using version 8 of Xcode


Solution

  • 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