Close XCodeOpen terminal input: rm -fr ~/Library/Developer/Xcode/DerivedData/ Reopen XCode and try to upload again