Multiple modulemap not found errors in react-native ios execution


I run my react-native ios project using these commands:

watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install
pod install --repo-update
react-native run-ios --simulator="iPhone 14"

Which gives me this error when running ios

<unknown>:0: error: module map file '/Users/myuser/Library/Developer/Xcode/DerivedData/asumobileapp-btkzbdfsdnhmcqayttujwctmcifk/Build/Products/Debug-iphonesimulator/FirebaseCoreInternal/FirebaseCoreInternal.modulemap' not found
    <unknown>:0: error: module map file '/Users/myuser/Library/Developer/Xcode/DerivedData/asumobileapp-btkzbdfsdnhmcqayttujwctmcifk/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
    <unknown>:0: error: module map file '/Users/myuser/Library/Developer/Xcode/DerivedData/asumobileapp-btkzbdfsdnhmcqayttujwctmcifk/Build/Products/Debug-iphonesimulator/lottie-ios/Lottie.modulemap' not found
    <unknown>:0: error: module map file '/Users/myuser/Library/Developer/Xcode/DerivedData/asumobileapp-btkzbdfsdnhmcqayttujwctmcifk/Build/Products/Debug-iphonesimulator/lottie-react-native/lottie_react_native.modulemap' not found
    <unknown>:0: error: module map file '/Users/myuser/Library/Developer/Xcode/DerivedData/asumobileapp-btkzbdfsdnhmcqayttujwctmcifk/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap' not found
    <unknown>:0: error: module map file '/Users/myuser/Library/Developer/Xcode/DerivedData/asumobileapp-btkzbdfsdnhmcqayttujwctmcifk/Build/Products/Debug-iphonesimulator/react-native-in-app-review/react_native_in_app_review.modulemap' not found

My package.json file and Podfile are in this pastebin. I’ve tried every other solution on StackOverflow but I cannot seem to get this to work.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img