admin管理员组文章数量:1345391
Can an iOS
app (built entirely with React Native
) be built/run from the mand line? PhoneGap
has a nice ios-sim utility for doing just that, but I haven't had any luck with it.
Can an iOS
app (built entirely with React Native
) be built/run from the mand line? PhoneGap
has a nice ios-sim utility for doing just that, but I haven't had any luck with it.
2 Answers
Reset to default 5If you build the project once using Xcode, then you can close it, run npm start
in your project root (to start the packager), fire up the Simulator (maybe using ios-sim). Since you built it once in Xcode, the app will be installed in the simulator so you can just run it and the whole CMD+R refresh process will work.
Fire up the server with:
$ npm start
Build/run the app in the ios simulator:
$ react-native run-ios
本文标签: javascriptRun a React Native app without launching XcodeStack Overflow
版权声明:本文标题:javascript - Run a React Native app without launching Xcode? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743808700a2542659.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论