[해결방법] warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0

오랜만에 새로운 프로젝트를 만들어서 iOS 빌드를 하려고 했다.

 

아래와 같은 에러 문구와 함께 빌드가 되지 않는것을 확인하고 구글링을 하니 바로 해결 방법을 찾았다.

warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'AppAuth' from project 'Pods')

 

[해결방법]

Podfile의 최하단에 target version을 넣어주면 된다

 

post_install do |installer|
  installer.pods_project.targets.each do |target|
  
     // 여기부터 
     target.build_configurations.each do |config|
     	config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
     end
     // 여기까지 추가
     
  end
end
728x90