Today I downloaded Xcode 9 and made the necessary changes for my application to compile. The application is compiling and running locally without any issues.
Using Xcode
I too got same error from Xcode 9.1 even though I have updated Carthage to latest version https://github.com/Carthage/Carthage/releases I have failed in uploading build to iTunes
Worked for me this way:-
If you have updated your Xcode to 9.1 then
Update your carthage.pkg downloading from https://github.com/Carthage/Carthage/releases
Install .pkg and
Give carthage update command in Terminal by referring to your project
and
then go to you project Build Settings find Enable Code Coverage Support change that setting from Yes to No
Then Archive and upload to AppStore. You build will be ready. Happy!