File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
Xode版本和pod版本不一致导致,改成一致就可以了
放在podfile文件里,最后一个pod,和最后一个end中间
Showing Recent Errors Only
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end
M1芯片报错:building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
打开路径:
一级目录
->PROJECT
->项目名
->Build Settings
->Excluded Architectures
里面在Debug
和Release
模式下,分别添加:Any iOS Simulator SDK
->arm64
;
Pod
添加arm64
:打开路径:左侧Pods一级目录
->PROJECT
->Pods
->Build Settings
->Excluded Architectures
里面在Debug
和Release
模式下,分别添加:Any iOS Simulator SDK
->arm64
;