Skip to content

Instantly share code, notes, and snippets.

@jamesguan
Last active January 15, 2019 20:35
Show Gist options
  • Save jamesguan/44dad18b5f6b45e60b9a3ee2f418a64a to your computer and use it in GitHub Desktop.
Save jamesguan/44dad18b5f6b45e60b9a3ee2f418a64a to your computer and use it in GitHub Desktop.
Fix React Native Issues
If missing config.h file:
1. Go to the node modules folder
cd node_modules/react-native/third-party/glog-{X}.{X}.{X}/
2. Run the config script:
./configure
Change to release mode:
Product -> Scheme -> Edit Scheme and then select Debug under Build
Xcode 10 issue:
Change the build setting to legacy
First, open your project in XCode by double-clicking on ios/<YourApp.xcodeproj>.
Then go to File > Project Settings …
Change the Build System to Legacy Build System in Per-User Project Settings.
Do below:
https://www.google.com/search?q=native+vs+expo+react-native&oq=native+vs+expo+react-native&aqs=chrome..69i57j0.4708j1j4&sourceid=chrome&ie=UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment