This question already has an answer here:
I have submitted my app to the app store using Xcode 6.4 on OS X 10.11, the app was pre-approved for testing. I then iterated through 5 builds all of which were uploaded successfully and installed on multiple test devices. Now that I am trying to submit for the final approval, I am getting:
"Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, and iOS 8 SDK or later. Don't submit apps built with beta software.
"
How can this be given that I am using Xcode 6.4, the app is set to run on iOS 8 or greater, and all of my previous builds, including the current, have been just fine getting into the test program and being installed?
Does anyone know how I could rectify this situation to get my app into the final step?
OS X 10.11 El Capitan is a beta software you cannot use it to build and submit iOS App to the store.
There is a dirty way to manage it but I personally would not do it https://stackoverflow.com/a/32233429/3979236
If you installed a beta version of a non GM Xcode, your toolchain may be confused.
Go to Accounts
in Xcode Preferences, select the account name under which you are attempting to publish, and View Details...
In Signing Identities > Action, either Create
the missing one or Reset
the offending one.
For anyone getting this error while using xcode 7 beta.
I went to the appstore and downloaded xcode 7.0.1 and then re-archived and released and it worked fine on the first try.
来源:https://stackoverflow.com/questions/32337165/ios-app-submission-yields-invalid-toolchain-although-xcode-is-up-to-date