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

前端 未结 5 1048
后悔当初
后悔当初 2020-12-31 01:16

Xcode is build the project and when build is success, I get this message \"The bundle\'s Info.plist does not contain a CFBundleVersion key or its value is not a string\". Wh

相关标签:
5条回答
  • 2020-12-31 01:36

    I have the same problem.

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

    Maybe it's a Simulator bug.

    0 讨论(0)
  • 2020-12-31 01:39

    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.

    0 讨论(0)
  • 2020-12-31 01:40

    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:

    1. Run flutter clean

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

    1. Open the Runner.xcworkspace project in Xcode

    1. Update the build number as @Hardik Vyas mentioned

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

    1. Clean, build and run the app in Xcode
    0 讨论(0)
  • 2020-12-31 01:47

    The fix for me was to add a build number to the target. Click on your target, go to General, then underneath Identity is a field for Build.

    0 讨论(0)
  • 2020-12-31 01:47

    Just Insert the build version to your project

    0 讨论(0)
提交回复
热议问题