与现有项目进行调试构建上的XCode错误。 (M1芯片)
: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 成立 :0:错误:模块地图文件'/users/victor/library/develicer/xcode/deriveddata/fitaye-abbjulghomzhkphclclphclpghclpghclpghuyibfo/build/build/products/debug-iphonesimulator/react-native-pdf-thumbniald-pdf-thumbnail/
reapnialtimnative_pdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'to 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 成立 :0:错误:模块地图文件 '/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap' not found 命令EMITSWIFTMODULE失败了非零退出代码
:0:错误:模块地图文件'/users/victor/library/develicer/xcode/deriveddata/fitaye-abbjulghomzhkphclphclpghclpghuyibfo/build/products/debug-iphonesimulator/nextlevelsessessexporter/nextlevelsextlesexteresexporter.modulemap'smodulemap'nnextlesessessexporter extlesexporter extlevelsessessexlesexlevelsessessexporter.modulemap'nne nter :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 成立 :0:错误:模块地图文件 '/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap' not found 命令PrecompileswiftBridgingHeader发出错误,但没有返回非零退出代码以指示故障
: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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
添加podfile:
排除的arhitectures添加ARM64
Add in Podfile:
and excluded arhitectures add arm64
尝试清除派生的Data。 cmd + k
并安装POD并
再次构建,希望它将解决该问题。
(如果问题仍然存在。终端的打开属性检查 rosetta
,则使用上面提到的命令再次安装POD。)
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.)