본문 바로가기
Swift

File not found: libarclite_iphonesimulator.a

by JDeoks 2023. 7. 19.

 

Showing Recent Messages

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

Showing Recent Messages

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

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

 

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

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Hoook' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Hoook
  pod 'VerticalCardSwiper'
  pod 'SnapKit'
  pod 'Firebase/Analytics' # Google Analytics
  pod 'Firebase/Firestore'
end
# 아래 코드 추가
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파일에 대해 최소 버전을 올려서 해결

'Swift' 카테고리의 다른 글

제네릭(Generics)  (1) 2023.10.04
앱 기본 언어가 한국어가 아닐때  (0) 2023.08.16
키보드에 가려지는 텍스트 필드 이동시키기  (0) 2023.07.12
SnapKit  (0) 2023.07.12
NotificationCenter  (0) 2023.07.07