File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
The Xode version is inconsistent with the pod version, just change it to be the same
Put it in the podfile, between the last pod and the last 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
Open the path:
一级目录
->PROJECT
->项目名
->Build Settings
->Excluded Architectures
InsideDebug
andRelease
in the mode, add:Any iOS Simulator SDK
-> respectivelyarm64
;
Pod
Addarm64
: Open the path:左侧Pods一级目录
->PROJECT
->Pods
->Build Settings
->Excluded Architectures
InsideDebug
andRelease
in the mode, add respectively:Any iOS Simulator SDK
->arm64
;