:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap‘未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-compressor/react_native_compressor.modulemap’未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap‘未找到:0:错误:未找到模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap’
:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap‘未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-compressor/react_native_compressor.modulemap’未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/未找到Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap‘:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap’nonzero失败,退出代码为非零
:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap‘未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-compressor/react_native_compressor.modulemap’未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap‘未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/Debug-iphonesimulator/react-native-pdf-thumbnail/react_native_pdf_thumbnail.modulemap’未找到命令PrecompileSwiftBridgingHeader发出错误,但未返回指示失败的非零退出代码
发布于 2022-09-12 05:37:32
添加Podfile:
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end不包括建筑加arm64
发布于 2022-07-02 15:00:27
试着清除DerivedData。cmd + k并使用
arch -x86_64 pod install然后再建一次,希望它能解决问题。
(如果问题仍然存在的话)。终端的打开属性检查rosetta
然后再使用上面提到的命令重新安装。)
https://stackoverflow.com/questions/72838086
复制相似问题