Created
October 30, 2018 11:59
-
-
Save fiznool/739b8e592596b5731512edfd77a1a2e9 to your computer and use it in GitHub Desktop.
Fixes the third party dependency issues introduced by Xcode 10's new build system.
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
#!/usr/bin/env bash | |
# Fix the third party mess. Run this after a `npm/yarn` install. | |
# This has (hopefully) been addressed by https://github.com/facebook/react-native/pull/21458, | |
# but at the time of writing (30/10/18) has not been merged into an official RN release. | |
echo "Fixing React Native third party folder..." | |
rm -rf ~/.rncache | |
WD=$(pwd) | |
cd node_modules/react-native | |
rm -fr third-party | |
$WD/node_modules/react-native/scripts/ios-install-third-party.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think just replacing
$WD
with"$WD"
on the final line fixes it