DEV Community

Discussion on: Updating React Native projects for M1 Mac development

Collapse
rochapablo profile image
Pablo

Did not work for me, I got

<unknown>:0: error: module map file '/Library/Developer/Xcode/DerivedData/rn64ts-ehhwyfdrgnnoyjahfcxzjgzvomte/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
1 error generated.
<unknown>:0: error: failed to emit precompiled header '/Library/Developer/Xcode/DerivedData/rn64ts-ehhwyfdrgnnoyjahfcxzjgzvomte/Build/Intermediates.noindex/PrecompiledHeaders/rn64ts-Bridging-Header-swift_15M2S8H9GH635-clang_2B5AIGA2MP817.pch' for bridging header '/sandbox/taboola-react-native-example/rn64ts/ios/rn64ts-Bridging-Header.h'
3 errors generated.
Enter fullscreen mode Exit fullscreen mode
Collapse
__wzy__ profile image
WZY

pod install in ios folder solves your first error (YogaKit.modulemap' not found) for me

Collapse
mngyuan profile image
Kevin Lee Author

thanks @WZY. did you try that Pablo? Deleting your derived data folder sounds like it could help as well as these errors are occurring within that folder.