问题
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
回答1:
Try Following
react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios
回答2:
Get .app file : Run this command -> react-native run-ios --configuration=release
Convert .app to .ipa :
- Create folder Payload.
- paste .app file into Payload folder.
- compress the Payload folder.
- change the name you want and put extension as .ipa.
来源:https://stackoverflow.com/questions/41970435/how-to-generate-ipa-file-for-react-native