If you're here you probably got the following error when trying to archive(or run the release version) your Flutter project on Xcode:
1Could not find an option named "track-widget-creation"
The good news is there is a quick and easy way to fix this, it's not the end of the world. Though it's still a bit unsettling when you run into something like this when you're just about to finally release something...
Anyway just run the following command in your project:
1flutter build ios --release
It should take a little while for it to finish. After it does you should be able to archive without any issues at all.