Dev/iOS

[Dev, iOS] Xcode - Missing file libarclite_iphoneos.a 오류 대응하기

100두산 2024. 11. 10. 16:39
728x90

 
예전에 개발한 앱을 좀 다듬어볼까 하고 오랜만에 빌드해봤는데 갑자기 오류가 딱! 발생했다. 오래돼서 그러려니 하고 Podfile도 업데이트 하고 deployment target 버전도 올리고 ChatGPT가 하라는 대로 별 짓 다해봤는데 해결이 안되더라.
 

 
그런데 그냥 스택 오버플로우에 검색해보니 바로 나온다. 기존 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

 
그리고 터미널을 열어
 

pod install

 
그 다음에 Xcode에서 Clean build folder 후에 run 해주면 해결된다.
 

Missing file libarclite_iphoneos.a (Xcode 14.3)

After installing Xcode 14.3 in order to run my app on my iOS 16.3 iPhone XS. I get the following error: File not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.

stackoverflow.com

 

728x90