How do you get react-native init to work for nowNote: This is for just getting a brand new react-native app working using react-native init. I haven't tried it with CRNA. You might have to do lots of other fun things if you have an existing project.So, if you're trying to get react-native working with XCode 10 and encountering a bunch of mysterious errors, here's what you do.Change the build setting to legacyFirst, open your project in XCode by double-clicking on ios/.Then go to File Project Settings …Change the Build System to Legacy Build System in Per-User Project Settings.Fix babel runtimeJust install @babel/runtime as a dev dependency (https://github.com/facebook/react-native/issues/21310).npm install @babel/runtime --save-dev# ORyarn add @babel/runtime --devFor folks with an existing app who upgraded to XCode 10, you probably have other issues and this might serve as a good starting point.https://medium.com/media/aaf677b19c2f73c5b961793f81a6dea7/hrefReact Native and XCode 10 was ...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
ios,react-native,xcode
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
ios,react-native,xcode
No comments:
Post a Comment