Created
September 5, 2019 06:03
-
-
Save axemclion/b78d00c7092a2ee78d242192a847ff73 to your computer and use it in GitHub Desktop.
Fix Yoga conflict when using Flipper with React Native (for rn <0.62)
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
sed -i '.bak' s/\'yoga\'/\'Yoga\'/ node_modules/react-native/ReactCommon/yoga/yoga.podspec | |
sed -i '.bak' s/\#\{version\}\.React/1\.14\.3/ node_modules/react-native/ReactCommon/yoga/yoga.podspec | |
sed -i '.bak' s/\#.Pinning/spec.pod_target_xcconfig=\{\'DEFINES_MODULE\'=\>\'YES\'\\}\#/ node_modules/react-native/ReactCommon/yoga/yoga.podspec | |
sed -i '.bak' s/\"yoga\",.\"\#\{version\}\.React\"/\"Yoga\"/ node_modules/react-native/React/React-Core.podspec | |
sed -i '.bak' s/\'yoga\'/\'Yoga\'/ ios/Podfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment