Created
October 24, 2018 11:57
-
-
Save stigi/bace0809ef428a70fb1afe43a401224e to your computer and use it in GitHub Desktop.
Fixes Xcode 10 builds for older react native issues.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Make sure node packages are there | |
yarn | |
# 1st fix: glog config.h not found | |
# Manually trigger 3rd party installs | |
cd node_modules/react-native | |
./scripts/ios-install-third-party.sh | |
# Manually trigger glog configure | |
cd third-party/glog-0.3.4/ | |
../../scripts/ios-configure-glog.sh | |
cd ../.. | |
# 2nd fix: libfishhook.a reference in RCTWebSocket | |
# Apply libfishhook.a fix from https://github.com/facebook/react-native/pull/19579 | |
curl https://github.com/facebook/react-native/commit/293915091ca6c9de2c54681e78eecf3229bc05d5.patch | patch -p1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment