'flutter Error launching application on iPhone 11

I can't run my application its show me this type of error.

enter image description here



Solution 1:[1]

Please do the following stuffs :

from terminal run following commands :

  1. flutter clean
  2. flutter pub get
  3. cd ios
  4. pod install
  5. pod update

now you can try to install on iphone simulator.

Solution 2:[2]

First of all install the "android sdk command-line-too as shown in the below image. You can install it by checking the check box then click on the install/apply button which will be shown on bottom right corner.

enter image description here

Then accept the Android studio licenses by running the following command in the command line tool (cmd) then accept all the licenses by entering -> y and enter.

->flutter doctor --android-licenses

Then let me know the issue is solved or not?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hardik Mehta
Solution 2 Rakesh Saini