본문 바로가기

코린이

iOS 16.4 그리고 Xcode 14.3 업데이트 후 iOS 시뮬레이터 오류 해결

코린이는 팀장님께서 주시는 토이프로젝트를 하고있어요.

스마트폰을 흔들면 화면에 주사위가 바뀌는건데..

내 아이폰은 최근에 모르고 iOS 16.4 버전으로 업데이트를 해버렸..

 

문제는 MAC에서 Xcode 연동해서 시뮬레이터 돌려보려는데 이게 안되네..

그래서 여차저차해 Xcode를 14.3 최신 버전으로 AppStore 에서 업데이트를 했고

(용량 무쟈게 큼.. 스토어에서 업데이트 시 시간 엄청 걸림.. 오전 내내)

 

뭐 잘됐겠지.. 하면서 시뮬레이터를 돌리는 순간!

Could not build the precompiled application for the device.
Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

에라이 밥이나 먹고오자..

 

//-----

밥먹고오면 뭐 해결될까 했지만..

다시 오후 부터 맨땅에 헤딩;;

 

여기저기 구글링 해본 결과 역시.. 나의 스텍 형님들..

 

1. 코코팟 업데이트

2. 재부팅

3. iOS 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
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

 

스텍형님들 고마워..

 

[참조링크]

https://stackoverflow.com/questions/75894992/missing-file-libarclite-iphoneos-a-in-xcode-14-3-after-update-flutter-and-xcod

 

Missing file `libarclite_iphoneos.a` in Xcode 14.3 after update flutter and Xcode

I have flutter project, I'm trying to run the iOS version but I get error after I update flutter and Xcode to the latest version, I use firebase core plugin error: Could not build the precompiled

stackoverflow.com

 

[위에 방법으로 도 안되면 이 방법으로..]