Unable to install "Runner" on real device 【Solved】

Viewed 45

I'm using Flutter 3.0.4.

I run my app on my iPhone connected by USB, and I got this error:

enter image description here

The details button shows this:

enter image description here

I'm sure about that there is not duplicate bundle ID on apple developer or my phone.

1 Answers
  1. Press shift+command+k to clean build folder.
  2. Check your info.plist and AppFrameworkInfo.plist, bundle identifier should be ${PRODUCT_BUNDLE_IDENTIFIER}.

In my case, I only can change bundle identifier to my.bundle.identifier in AppFrameworkInfo.plist. info.plist should be ${PRODUCT_BUNDLE_IDENTIFIER}.

If I change bundle identifier to my.bundle.identifier both in info.plist and AppFrameworkInfo.plist, the error occurred.

Related