
hybrid
丫丫0721
这个作者很懒,什么都没留下…
展开
-
react-native 填坑(1)
问题:react-native-img-cache cannot read property DocumentDir of undefined方法:remove the "build" folder inside my "ios" folder and then restart my simulator. After that it's working fine转载 2018-01-05 16:18:15 · 695 阅读 · 0 评论 -
react-native ios打包上线 for mac
开发React Native的过程成,js代码和图片资源运行在一个Debug Server上,每次更新代码之后只需要使用command+R键刷新就可以看到代码的更改,这种方式对于调试来说是非常方便的。但当我们需要发布App到App Store的时候就需要打包,使用离线的js代码和图片。这就需要把JavaScript和图片等资源打包成离线资源,在添加到Xcode中,然后一起发布到App St转载 2018-01-09 13:05:08 · 2449 阅读 · 1 评论 -
react-native failed to execute importscripts on workerglobalscope
报错:failed to execute importscripts on workerglobalscope方法:NSURL *jsCodeLocation; jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; //js原创 2018-01-19 11:45:00 · 3999 阅读 · 0 评论 -
react-native code push 整理(1)
如果出现 #import 出现file not found,请在Build Setting -> Search Header Path -> 添加$(SRCROOT)/../node_modules/react-native-code-push/ios转载 2018-01-19 16:00:03 · 1527 阅读 · 0 评论