I am trying to archive an app on XCode in order to update it on AppStore and I keep getting this error when validating the archive file:
App Store Connect Operation Error
Invalid Swift Support. The file Runner.app/Frameworks/.last_build_id doesn’t have the correct file type for this location. Ensure you’re using the correct file, rebuild your app using the current public (GM) version of Xcode, and resubmit it.
Things to keep in mind: 'Runner.app' is the name of the app as it is a Flutter app
I have installed XCode directly from the website and not AppStore as I didn't have nearly enough memory to install it from AppStore
I have XCode 12.3 installed
I have tried all the 'regular' steps like 'flutter clean', XCode clean, deleting cache, reinstalling pods...