I encountered the same issue with xCode 9 GM build and others reported it as well in xCode 10 and xCode 11. Deleting the derived data actually solved it for me. Hopefully it will help others as well.
- Close xCode
rm -fr ~/Library/Developer/Xcode/DerivedData/- Reopen xCode and try to upload again