Invalid Toolchain error. Your app was built with an unsupported SDK ...

I'm trying to validate my Flutter iOS app for distribution and I'm getting this error:


Invalid Toolchain. Your app was built with an unsupported SDK or version of Xcode. If you plan to submit this build to the App Store, make sure you are using the versions listed in https://help.apple.com/xcode/mac/current/#/devf16aefe3b or later.

I'm using Xcode 12.5 Build version 12E5234g. The link given in Apple's error notification above does not show any recommended versions.

As far as I can understand, I'm using the latest version of XCode. What can I do to fix this?


Answered by DTS Engineer in 670226022
Xcode 12.5 is still a beta, so it is not eligible for shipping apps. Xcode 12.4 is the latest release.
Accepted Answer
Xcode 12.5 is still a beta, so it is not eligible for shipping apps. Xcode 12.4 is the latest release.
Thanks! I wish the error message was clearer, or the link it referred to actually clarified what is supported.
I'm getting the same error with Version 12.5 (12E262), which was released in the meantime.
Should I downgrade to 12.4?
ok, nevermind. I had both 12.5 beta and 12.5 release installed, and it seems that it was using some of the beta components. It worked fine after I uninstalled the beta version.
Invalid Toolchain error. Your app was built with an unsupported SDK ...
 
 
Q