NWPathMonitor crash error

quokka·2023년 12월 19일
0

iOS

목록 보기
17/27

iOS deployment targetiOS11이고, cocoapods을 이용하는 프로젝트를 빌드해봤는데 해당 에러가 나면서 앱이 실행되지 않았습니다. 해당 코드를 PodFile에 넣고 pod install을 하니 실행이 잘 되었습니다.

post_install do |installer|
 installer.pods_project.targets.each do |target|
     target.build_configurations.each do |config|
        if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
        end
     end
 end
end

출처: https://github.com/fluttercommunity/plus_plugins/issues/1955

profile
iOS를 공부하는 개발자입니다~ㅎㅎ

0개의 댓글