Skip to content

Instantly share code, notes, and snippets.

@jamonholmgren
Created September 27, 2019 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamonholmgren/92ba2fcfec2f955293c3ba8b7b777ee8 to your computer and use it in GitHub Desktop.
Save jamonholmgren/92ba2fcfec2f955293c3ba8b7b777ee8 to your computer and use it in GitHub Desktop.
Issue building React Native ios -- yoga

I was running into a React Native build issue where I was getting this (only captured part of the error message, unfortunately):

Target Support Files/yoga/yoga.xcconfig: unable to open file (in target "yoga" in project "Pods") (in target 'yoga' from project 'Pods')

To fix:

rm -rf ios/build
rm -rf ios/Pods ios/Podfile.lock
cd ios; pod install; cd -
# restart packager
react-native run-ios
@kyle-ssg
Copy link

Picked this up debugging an issue, finally figured out that people may have to remove these from git and then push again as yoga has changed to "Yoga"

@gabriel-tentaculo
Copy link

Thanks for this info.
Interesting thing on my project the folder ios/build does not exist, but it worked anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment