iOS

[iOS] error: SDK does not contain 'libarclite' at the path

BenKangKang 2024. 5. 12. 10:48

증상

빌드 시 아래 에러 발생

error in Xcode File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

 

해결

팟 타겟 버전을 특정 버전 이상으로 올려서 해결 https://forums.developer.apple.com/forums/thread/728021

 Podfile 하단

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