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

前端 未结 5 1076
后悔当初
后悔当初 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: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

提交回复
热议问题