react native ios package, i.e., the production of the package

Reference article: http://www.devio.org/2017/02/09/React-Native%E5%8F%91%E5%B8%83APP%E4%B9%8B%E6%89%93%E5%8C % 85iOS% E5% BA% 94 % E7% 94% A8 /

1. created in the root directory release_ios   folder

2. Packaging static resources and in part by the following instruction js code to release_ios   folder

 

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

 

Then in release_ios   clip file generation assets and main.jsbundle file,

 

3. The release_ios   folder in assets and main.jsbundle files dragged into the project in xcode (ie project name) , drag the red box came time to choose an option

 

4.  Click on Product / Archive packaged

 

Guess you like

Origin www.cnblogs.com/lude1994/p/11078255.html