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
As quick fix, run these commands in Terminal (be sure to go to your project's root folder):
carthage update --platform iOS --no-use-binaries --no-build
This will update your dependencies, but will build nothing.
grep -lR "codeCoverageEnabled" --include *.xcscheme --null Carthage | xargs -0 sed -i '' -e 's/codeCoverageEnabled = "YES"/codeCoverageEnabled = "NO"/g'
This will set code coverage to NO
.
carthage build --platform iOS
This will finally build all frameworks without code coverage.
Now you can archive your project and upload it to iTunes Connect.
The nice people at the Carthage
project are already working on a more user friendly fix, so be sure to check for releases there.