Apple Developers: Are you getting an “Invalid Toolchain” error when compiling apps? Here’s why!
Getting an app ready for the iOS App Store can sometimes be a frustrating process. Especially when the app almost makes it to the App Store, and then you get an error that stops the process.
One such annoying error is called the "invalid toolchain". What is it, and how can it be fixed? While there could be multiple reasons for this error, here's one possible solution that I just ran into.
Most of the time, Apple has two versions of Xcode (the environment we use to make apps). One is the beta version, and the other is called the Gold Master (or GM for short).
Each time we upload an app to the App Store, Xcode checks to see if the app was compiled with a GM version, or a Beta version. If it's in a GM version (and everything else is setup okay) then the app gets uploaded to the store. If not, then that error may come up.
To fix this error always go to https://developer.apple.com and download the latest GM version of Xcode, install it, then try the upload again.