RN

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

http://www.jianshu.com/p/5c0659ace329

http://www.tuicool.com/articles/qEJbAfy

http://blog.163.com/huang_tai_shan/blog/static/25917911120168245653718/

http://www.jianshu.com/p/3dc9d70a790f  集成到原生项目中

http://www.open-open.com/lib/view/open1463060059009.html   集成到原生项目中

http://www.tuicool.com/articles/BfInEv (配合这个创建自工程的方法http://www.open-open.com/lib/view/open1452090394558.html)集成到原生项目中

记住一定要有  JavascriptCore.framework

还有如果报错:"std::__1::mutex::~mutex()", referenced from:       -[RCTModuleData .cxx_destruct] in libReact.a(RCT

修改方法如图:


如果cmd+R无法刷新 试试把模拟器的硬键盘打开

http://www.lcode.org/react-native-integrating/  一个RN大拿

http://www.jianshu.com/u/9895046b765d

http://www.jianshu.com/p/2b1c14f1a9a8  打包

示例应用:https://github.com/fbsamples/f8app


http://www.tuicool.com/articles/bIz6Bnm  去哪儿app的RN实践讲解

Webstorm 破解版:http://www.jianshu.com/p/492309c60348

react-native run-ios报错

localhost:AwesomeProject allan$ react-native run-ios

Found Xcode project AwesomeProject.xcodeproj

xcrun: error: unable to find utility "instruments", not a developer tool or in PATH


Command failed: xcrun instruments -s

xcrun: error: unable to find utility "instruments", not a developer tool or in PATH


解决办法:(注意前提是finder的应用程序中得有Xcode.app这个名字的Xcode

localhost:AwesomeProject allan$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值