This action could not be completed. Try Again (-22421) This action could not be completed. Try Again (-22421) xcode xcode

This action could not be completed. Try Again (-22421)


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.


Just try exporting the iPA file and then upload that exported iPA file with application loader. It will solve your problem.


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