본문 바로가기
iOS/Xcode

[iOS/Xcode] Missing file libarclite_iphoneos.a (Xcode 14.3)

by thoonk: 2024. 3. 8.

Xcode 14.3 이상 버전에서 Pod 관련 에러 발생한 내용을 기록합니다.

 

에러 내용:

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

 

원인:

Xcode 14.3 부터 위 에러 발생

 

해결:

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'] = '13.0'
            end
        end
    end
end

 

 

 

Ref.

https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3

댓글