skip to Main Content

:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-compressor/react_native_compressor.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap’ not found

:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-compressor/react_native_compressor.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap’ not found
Command EmitSwiftModule failed with a nonzero exit code

:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-compressor/react_native_compressor.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap’ not found
:0: error: module map file ‘/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap’ not found
Command PrecompileSwiftBridgingHeader emitted errors but did not return a nonzero exit code to indicate failure

2

Answers


  1. Try clearing DerivedData. cmd + k
    And install pods with

    arch -x86_64 pod install
    

    Then build again hopefully it will resolve the issue.

    (If the issue still persists. Open properties of terminal check the rosetta

    Then pod install again using the command i mentioned above.)

    Login or Signup to reply.
  2. Add in Podfile:

    post_install do |installer|
        installer.pods_project.build_configurations.each do |config|
          config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
        end
    end
    

    and excluded arhitectures add arm64

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search