看见helloWorld(ios)

1、安装Homebrew

/usr/bin/ruby-e"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2、安装node.js

官网下载最好,https://nodejs.org/en/

3、安装 watchman 和 flow

brew install watchman

brew install flow

4、可以react-native init xxx了

5、如果遇到报什么xocde 1的错 ,在build phases那里的最后一个钩上run script only when installing

6、第5部做完后还会遇到一个错,报什么.hpp文件不存在。那就在package.json文件把12的改成6,把react-native 版本改成0.44.3,然后在删除node_modules文件夹再重新npm install。run'xing'run

7、ok


1.1运行时发现ignore的错误,http://www.jianshu.com/p/a74aec74fd4e

8、ios打离线包

http://www.jianshu.com/p/ce71b4a8a246

9、ios发布

http://blog.csdn.net/yjxommm2005/article/details/72842249

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。