ERROR ITMS-90534: \"Invalid Toolchain.
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS,
Every thing was updated Xcode 8.3.3, OS Serra 10.12.6 but I was still getting the issue. what I did and the issue got resolved is:
Open app store searched xcode Open Xcode from app store it prompted me to install some missing features. I followed the instructions and completed the wizard Re-open Xcode and Archived my app and then started uploaded and it went successfully.
Hope it may help someone.
Cheers!