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.
- Open your Info.plist file.
- 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