与现有项目进行调试构建上的XCode错误。 (M1芯片)

发布于 2025-02-12 08:15:43 字数 2974 浏览 0 评论 0原文

: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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

贪了杯 2025-02-19 08:15:43

添加podfile:

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

排除的arhitectures添加ARM64

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

还不是爱你 2025-02-19 08:15:43

尝试清除派生的Data。 cmd + k
并安装POD并

arch -x86_64 pod install

再次构建,希望它将解决该问题。

(如果问题仍然存在。终端的打开属性检查 rosetta

,则使用上面提到的命令再次安装POD。)

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.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文