Flutter iOS App Version and Build Number Not Updating When Archiving in Xcode

When working with Flutter iOS apps, sometimes the version and build number may not update correctly when archiving in Xcode. This can be a frustrating issue, especially if you’re preparing the app for release. Here’s a solution that might help resolve this problem:

If you’ve already tried running the commands mentioned in other solutions and are still experiencing issues, you should consider manually editing the Info.plist file.

  1. Open your Info.plist file.
  2. Replace the following keys with these values:
  • For CFBundleShortVersionString, use:
    $(MARKETING_VERSION)
  • For CFBundleVersion, use:
    $(CURRENT_PROJECT_VERSION)

This manual adjustment ensures that Xcode properly reads the version and build number during the archiving process.



Leave a Reply

Your email address will not be published. Required fields are marked *