This action could not be completed. Try Again (-22421)
Solution 1:
This happens because Apple's servers may not be working correctly. Just wait and try later or next time. It will work for sure eventually.
Solution 2:
Just try exporting the iPA file and then upload that exported iPA file with application loader. It will solve your problem.
Solution 3:
There's another way to fix above error. Try this, it fixed it for me. Open Terminal and run:
cd ~
mv .itmstransporter/ .old_itmstransporter/
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
Three above code line will update iTMSTransporter, then you can try uploading in XCode again.
Refs for more details: https://forums.developer.apple.com/thread/76803