xcode错误调试构建与现有项目.(M1芯片)



:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/nextlevelsessionexporters/nextlevelsessionexporters . '没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-compressor/react_native_compressor。没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-geolocation-service/react_native_geolocation_service。modulemap"未找到:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-pdf-thumbnail/react_native_pdf_thumbnail。

:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/nextlevelsessionexporters/nextlevelsessionexporters . '没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-compressor/react_native_compressor。没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-geolocation-service/react_native_geolocation_service。没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-pdf-thumbnail/react_native_pdf_thumbnail。没有找到Modulemap命令EmitSwiftModule失败,退出代码非零

: 0:错误:模块映射文件'/用户/维克多/图书馆/开发/Xcode/DerivedData/Fitaye-abbjulghomzhkphclpghuyouibfo/构建/产品/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter。没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-compressor/react_native_compressor。没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-geolocation-service/react_native_geolocation_service。没有找到Modulemap:0:错误:模块映射文件'/Users/victor/Library/Developer/Xcode/DerivedData/fitye -abbjulghomzhkphclpghuyouibfo/Build/Products/debug -iphone模拟器/react-native-pdf-thumbnail/react_native_pdf_thumbnail。没有找到Modulemap命令PrecompileSwiftBridgingHeader发出错误,但没有返回非零退出码来指示失败

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

和排除的体系结构添加arm64

尝试清除DerivedData。cmd + k并使用

安装pod
arch -x86_64 pod install

然后重新构建,希望它能解决问题。

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

然后使用上面提到的命令重新安装。)

相关内容

  • 没有找到相关文章

最新更新