Both the version and the build number may be overridden in Flutter’s
build by specifying --build-name and --build-number,
respectively.

In macOS, build-name uses CFBundleShortVersionString
while build-number uses CFBundleVersion.
Read more about iOS versioning at Core Foundation Keys
on the Apple Developer’s site.

Add an app icon

When a new Flutter app is created, a placeholder icon set is created.
This step covers replacing these placeholder icons with your
app’s icons:

Review the macOS App Icon guidelines.

In the Xcode project navigator, select Assets.xcassets in the
Runner folder. Update the placeholder icons with your own app icons.

Verify the icon has been replaced by running your app using
flutter run -d macos.

Create a build archive with Xcode

This step covers creating a build archive and uploading
your build to App Store Connect using Xcode.