welcome to my blog

[Flutter] Could not build the precompiled application for the device 본문

Flutter

[Flutter] Could not build the precompiled application for the device

_annie_ 2021. 12. 27. 20:56
728x90

Flutter : Could not build the precompiled application for the device. Error launching application on iPhone

라는 에러가 생겼을 경우

flutter pub upgrade

flutter clean

해주니까 해결되었다....

 

 

 

ios > Podfile에

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      # drop deployment target so it works with ios14
      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET
    end
  end
end

코드를 위와 같이 변경하라고 하는 해결방법도 있었는데

나의 경우에는 추가해주지 않아도 해결되었음

728x90
반응형