: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
Try clearing DerivedData. cmd + k
And install pods with
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.)
Add in Podfile:
and excluded arhitectures add arm64