The bundle's Info.plist does not contain a CFBundleVersion key or its value is not a string

I have the same issue with CFBuildVersion and than i found that in my project Target there is no build version inserted.

So i have just inserted build version and issue solved. enter image description here


I followed solutions from everywhere and these are the steps I ended up with that worked for me:

Solution:

  1. Open the terminal and fix any relevant issues flutter doctor displays:

flutter doctor

  1. Run flutter clean

enter image description here

  1. Delete the Podfile, Podfile.lock and the Pods directory from your ios project

enter image description here

  1. Open the Runner.xcworkspace project in Xcode

enter image description here

  1. Update the build number as @Hardik Vyas mentioned

enter image description here

  1. As @iDevOrz mentioned, Erase All Content and Settings from the simulator

enter image description here

  1. Clean, build and run the app in Xcode

I have the same problem.

I fix it by Simulator menu -> Hardware -> Erase All Content and Setting.

Maybe it's a Simulator bug.