When running my iOS app in Xcode simulator, I'm encountering this build error:
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/ XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target
How can I resolve this libarclite missing error?
-
Does this help?sonle– sonle2025年04月02日 11:32:04 +00:00Commented Apr 2, 2025 at 11:32
-
This question is similar to: clang: error: SDK does not contain 'libarclite' at the path. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.HangarRash– HangarRash2025年04月14日 20:59:44 +00:00Commented Apr 14, 2025 at 20:59
1 Answer 1
This error occurs when your deployment target is set too low for the current Xcode version. Update your minimum iOS deployment target to at least iOS 13.0. Add this to your Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
Sign up to request clarification or add additional context in comments.
Comments
default