Reputation: 81
i'm created new project in react-native and i'm trying to build in xcode but it was coming fatal error
fatal error: module map file '/Users/gis00109/Library/Developer/Xcode/DerivedData/sam-capwmdorzbxfzphhezjlrwcbyxyp/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
Upvotes: 5
Views: 5537
Reputation: 1
After trying every solution on the internet, this worked for me.
cd ios && pod install && cd ..
then
npx react-native link
or
yarn react-native link
Upvotes: -1
Reputation: 2636
the problem could be that you opened up .xcodeproj instead of .xcworkspace .
Upvotes: 0
Reputation: 41
Steps to solve:
Upvotes: 2