I have manage to build my MacOS app using : flutter build macos --obfuscate --release --split-debug-info=/Users/foxtom/StudioProjects/MyProject/build --build-name=1.0.0 --build-number=1
And i have my app built successfully.
Now if i listen to flutter documentation, i should "Open the archive using Xcode -> Product -> Archive".
However, this operation seems to recreate a new archive and don't care about the previous command at all.
Can someone confirm that clicking on "Archive" is using the build result from the above command ? Or is it recreating a new archive from scratch ?
In any case, how can i simply submit an obfuscated macos app ?
Thanks in advance
EDIT : i have raised an issue because this simply doesn't seem possible unfortunately for now
I have found an ugly workaround that is actually working.
I simply create the Xcode archive, and also run the mentioned flutter command.
Once the archive is created in Xcode, i replace the content of Products
by the one (similar) generated by Flutter.