development

이 작업을 완료 할 수 없습니다.

big-blog 2020. 9. 30. 09:20
반응형

이 작업을 완료 할 수 없습니다. 다시 시도 (-22421)


테스트 목적으로 Apple TV 앱을 App Store에 업로드하려고 하는데 문제가 있습니다.

이 작업을 완료 할 수 없습니다. 다시 시도 (-22421)

아래 이미지에서와 같이 :

여기에 이미지 설명 입력

그래서 내가 무엇을 할 수 있니?


이것은 Apple의 서버가 제대로 작동하지 않을 수 있기 때문에 발생합니다. 잠시 기다렸다가 나중에 또는 다음에 시도하십시오. 결국 확실히 작동 할 것입니다.


iPA 파일을 내 보낸 다음 내 보낸 iPA 파일을 애플리케이션 로더로 업로드하십시오. 그것은 당신의 문제를 해결할 것입니다.


위의 오류를 수정하는 또 다른 방법이 있습니다. 이것을 시도해보십시오. 터미널을 열고 실행하십시오.

cd ~  
mv .itmstransporter/ .old_itmstransporter/  
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter" 

위의 세 코드 줄은 iTMSTransporter를 업데이트 한 다음 XCode에서 다시 업로드를 시도 할 수 있습니다.

자세한 내용은 참조 : https://forums.developer.apple.com/thread/76803


(2018 년 5 월 23 일 현재)

1 단계

Xcode-> 제품 탭-> 아카이브 -> 내보내기 및 데스크탑에 저장 열기

2 단계

Xcode 열기-> Xcode 탭-> 개발자 도구 열기 -> 애플리케이션 로더 >> Deliver YourApp을 두 번 클릭 하고 데스크탑에서 최근에 내 보낸 .ipa 파일을 선택하십시오.

매번 문제 해결 =)


Xcode와 관련된 모든 것과 마찬가지입니다. 간단한 재부팅으로 문제가 해결되었습니다.


Appstore에 IPA를 업로드하려고 할 때 동일한 문제가 있습니다. 배포 프로비저닝 프로필이 유효하지 않은지 확인했을 때 문제를 해결했습니다. 따라서 프로비저닝 프로파일을 업데이트하고 다운로드 한 다음 Xcode를 설치하고 다시 시작하십시오. 이제 보관하고 Appstore에 업로드하면 완료됩니다.

또는

IPA를 생성하고 Application Loader를 통해 업로드합니다.

행운을 빕니다.


100 % 확실하게 작동합니다. 나는 같은 문제가 있었지만 아래 단계로 해결되었습니다.

  1. ~ / Library / MobileDevice / Provisioning Profiles /에서 모든 프로필을 삭제합니다.
  2. Xcode에서 개발자 계정 삭제 >> 환경 설정 >> 계정 >> Apple ID 삭제
  3. 파생 데이터 삭제
  4. 머신 다시 시작
  5. 앱 제출에 필요한 프로비저닝 프로파일 다운로드
  6. 프로젝트를 열고 정리하십시오.
  7. 앱 제출을 위해 다시 시도하십시오.

나는 이것이 모두에게 효과가 있기를 바랍니다.


나는 여기에 똑같은 오류가 발생했습니다 (한 시간 동안 약 6 번 실패했습니다).

(아무것도 변경하지 않고) 지금 다시 시도했지만 자체적으로 작동했습니다.

Apple 포럼에서 Apple 서버와 관련된 문제이며 Xcode와 관련이 없다고 읽었습니다.

또한 ApplicationLoader (메뉴-> Xcode-> Open Developer Tool-> Application Loader)를 통해 업로드를 시도하는 다른 사람들이 읽었습니다. 그러면 코드가 어디에 있는지 묻습니다. 그러면 아카이브 (소스 코드가 아님)를 선택해야합니다. 필요한 경우이 방법으로 코드를 업로드 할 수 있습니다. 개인적으로 내장 Xcode를 선호합니다.

어느 쪽이든 작동합니다.

기록을 위해 Apple Forums 에서 스레드를 복사하고 있습니다.

건배 하이더


"비트 코드 포함"상자의 선택을 취소하십시오.


June5 업데이트 ...

애플 은 지난주에 있었던 현재의 특정 버그를 수정 한 것으로 보입니다 .

간단히 말해, 애플리케이션 로더를 사용하지 않고 파란색 "App Store에 업로드 ..."버튼을 사용하여 업로드 할 수 있습니다.


2017 년 6 월 1 일

더 많은 정보, 겉보기에 실패한 업로드

정말 앱 스토어에가는 것 같네요 ...!

여기에 이미지 설명 입력

208-231 개의 각 항목에 대해 정상적인 방법으로 업로드하려고했지만 "다시 시도 (-22421)"코드로 실패했습니다.

사실, 나도 모르게 그들은 모두 앱 스토어로 올라가고 있었지만 끝없는 처리에 갇혀있는 것처럼 보입니다.

그런 다음 StevenOjo가 (어제) 위에서보고 한 내용을 정확하게 믿었습니다.

  • 새 이메일 주소로 iTunes에서 새 계정 설정

  • 또한 개발자에게 설정하십시오. Apple은 세계에서 가장 멍청한 조직이기 때문에 developer.apple은 ituneconnect.apple과 완전히 다릅니다.

  • 내 실제 계정에서 ITUNES CONNECT가 아닌 개발자 계정에서 새로운 분신을 관리자로 초대했습니다.

  • 앱 스토어 배포를위한 IPA로 주최자에서 앱 내보내기.

  • 새 이메일로 애플리케이션 로더에 로그인하고 아카이브를 업로드합니다. 문제없이 작동했습니다.

제 평소 계정으로 이제 실제로 잘 작동 할 가능성이 있습니다. 모르겠어요.

명확하게 말하면, 매우 짧은 시간 (예 : 2 분) 후에 최종 빌드 (즉, 위의 233)가 앱 스토어에서 정상적으로 "테스트 준비"상태가되었습니다.

여기에 이미지 설명 입력

모든 "멍청한"업로드가 처리 중에 영원히 멈춰있는 것 같습니다.

애플의 엄청난 무능함이 "음모 이론"수준에 도달했습니다 ....

이렇게 나쁜 프로그래머와 시스템 관리자를 고용하는 것은 말 그대로 불가능합니다 .

Apple의 프로비저닝이라는 완전한 실패 뒤에는 일종의 음모 이론이 있어야합니다. 어쩌면 그것은 일종의 역 심리학 마케팅 음모 ​​일 수도 있고 ... 누가 알겠는가.


같은 날 이후 :

itmstransporter 업데이트를 시도했습니다.

그런 다음 일반적인 "App Store에 업로드 ..."밝은 파란색 버튼을 사용하여 새 빌드 번호로 시도했습니다.

그것은 작동하지 않았다 ...

그런 다음 위에서 설명한대로 Application Loader사용해 보았습니다 .

ApplicationLoader와 함께 작동했습니다.

결론 ...

불행히도 itmstransporter는 아마도 관련이 없습니다.

: / 무슨 실패.


Xcode 8.3.2의 경우

나는 같은 문제를 해결했다

"이 작업을 완료 할 수 없습니다. 다시 시도하십시오 (-22421)"

다음 단계를 사용하여 ...

  1. xcode 종료 (열린 경우)
  2. 애플리케이션 폴더, Xcode 8.3.2-> 패키지 콘텐츠 표시-> 콘텐츠-> 애플리케이션-> 애플리케이션 로더 (패키지 콘텐츠 표시)-> 콘텐츠-> itms-> bin-> iTMSTransporter (오른쪽 클릭하고 터미널로 열기, 업데이트가 자동 시작됩니다 ...) 프로젝트를 업데이트 한 후 아카이브를 다시 빌드하고 다시 업로드합니다.

Xcode 9의 경우

발행물

”이 작업을 완료 할 수 없습니다. 다시 시도 (-22421) "

Xcode 9에서 해결되었습니다. 이제 Xcode Organizer를 통해서도 앱을 업로드 할 수 있습니다.

https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW876


빌드 번호를 늘 렸지만 문제가 남아 있습니다.

그때,

  1. itunesconnect 에서 갱신 된 라이센스 계약을 승인 했습니다 .
  2. MAC에서 App Store 응용 프로그램을 열고 "XCode 용 명령 줄 도구 (OS X 10.11) 버전 7.3"업데이트 버튼을 클릭했습니다.
  3. XCode를 열었습니다. 상단 표시 줄에서 "제품"버튼을 클릭했습니다. 탭 내용이 열려있는 동안 키보드의 "alt"키를 클릭하여 "Clean Build Folder"옵션을 표시했습니다. 이 옵션을 클릭했습니다.
  4. 아래 오류가 발생한 것과 동일한 버전으로 애플리케이션을 다시 빌드합니다.

이 작업을 완료 할 수 없습니다. 다시 시도 (-22421)

  1. 이번에는 새 버전을 업로드 할 때 아래와 같은 오류가 발생했습니다.

이 작업을 완료 할 수 없습니다. 다시 시도하십시오.

  1. Done을 ​​클릭하고 파란색 "Upload to App Store"버튼을 다시 클릭했고 업로드가 성공적으로 완료되었습니다.

이게 도움이 되길 바란다.


터미널을 열고 실행하십시오.

cd ~

mv .itmstransporter/ .old_itmstransporter/

"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"


xCode 업로드 프로세스로 문제를 해결할 수 없습니다. 며칠 전에 내 앱을 거의 제출하지 않고 모든 앱에서 동일한 오류를 표시 할 때 동일한 문제에 직면했습니다. 많은 시도 끝에 Application Loader를 사용하여 앱을 업로드했는데 제대로 작동했습니다.

  1. 먼저 xcode-> 제품 메뉴-> 아카이브로 이동하십시오.
  2. Appstore 용 내보내기를 선택합니다.
  3. IPA 파일 저장
  4. 이제 xCode-> xCode 메뉴-> 개발자 도구 열기-> 애플리케이션 로더로 이동하여 애플리케이션 로더를 엽니 다.
  5. 계정 자격 증명으로 로그인하고 IPA 파일을 선택합니다.

제출하세요! 효과가있다!


I've tried to load archive nearly 10 times (with all kinds of cleans and reloads, with different versions and provisioning files), still received the same error. Then suddenly on my next attempt it showed me: "cannot proceed with delivery an existing transporter instance is currently uploading this package", I did the following and it helped:

Basically, you need to clear out the transport tokens. This can happen if you were to close out of Xcode while in the middle of submitting an app to iTunes Connect.

/Users/<username>/.itmstransporter/UploadTokens/

Delete any .token files in this directory. If you are unable to find the .token files, this is because they are hidden in Finder. To hide/show hidden files in Finder, use the following Terminal command (TRUE = UNHIDE, FALSE = HIDE):

defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder


Tested in Xcode 7.3, 04142016

Instead of clicking the blue Upload to App Store… button from the Organizer or while Archiving, Xcode offers a better tool to do this, but it is a little hidden and the process is not clear how to use it.

Here is what I documented while submitting our latest iOS application to the App Store:

First, do NOT use the blue Upload to App Store… button.

From Xcode's Xcode: Developer Tools: menu, select Application Loader.

Sign in with appropriate credentials that allow you to upload to the App Store.

When Application Loader shows you its main screen, select the Choose button on the lower right of the main window and open your IPA that you exported for the App Store.

Proceed with the submission.

Why you want to do this:

  1. Detailed app submission error reporting. Exact explanations of submission errors. It tells you what's incorrect in your app that you are trying to submit.
  2. You don't have to deal with the insipid error that prompted this question in the first place.
  3. It works consistently in my tests where Xcode's Submit App to Store… from the Archive menu does not.

Just In case it is same my mistake.

Did you check both provisioning profile settings in "your Project" and "your Targets"?

여기에 이미지 설명 입력


In my case it was caused by lack of some of the app icons in the Images.xcassets


Both developers on our team experienced the same problem, from different machines on May 31st 2017. I worked around the problem by:

  1. Setting up an app specific password on my Apple ID.
  2. Exporting the app from the organizer, as an IPA for app store distribution.
  3. Logging into application loader with that App Specific password and uploading the archive. It worked without any issues.

What a lovely waste of time. Hopefully these steps work for others and save some time.


When you receive error "Action could not be completed. Try Again (-22421)", Just try to resubmit same app on iTunes store using XCode again, and you will get the actual error messages next time.

Detailed error message which your received next time will help you what to do actually!!!

If you are receiving same error again and again, you can submit app using "App Loader" and it may success to submit.

[ Take care Point: ]

Please check your app version / build version number is greater than previously submitted version. You can verify it in Xcode -> Project setting -> General section AND iTunes-Connect-Account -> App Package -> Activity tab


I had this problem over and over again. No descriptive description, just the error message that OP posted.

In fact, it was a problem with the build and so had nothing to do with Apple's servers at all, as you might think.

The solution was to go to Organizer and Export the build, then upload it via Application Loader. Here I got the correct error messages. In my case, it was a problem with CocoaPods breaking app extension validations. I solved this and then I could upload my build.

Hope this helps someone like me.


I had the same issue. It was related to the Build Settings -> Code Signing Identity -> Release which was set to iOS Developer. If has to be set to iOS Distribution in order for Xcode upload to work.


For June 1 2017

Certain combined steps from answer of this thread that worked for me. I am writing the process that worked fine for me.

1) Open terminal and run this

cd ~

mv .itmstransporter/ .old_itmstransporter/

"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"

iTMSTransporter will then update itself, wait till process completes.

2) Logout the apple account from Xcode preferences account and login again instead of creating new Id on iTunes and developer account.

3) Clean the project and archive then export the app from organiser as an IPA for app store distribution.

4) Logging into application loader with same account and upload the ipa.

5) Process will complete successfully.


You can try following solutions:
Use Application Loader to upload your app, as Xcode organizer can't upload file (rejects IPA) sometimes, without genuine reason and it's frequently occurring issue, with Xcode Organizer, that apple could not resolve permanently.

Solution for error code: 22421

  • Apple app upload server is not working properly (not in connection or lost connection during file upload). Just wait and try again later (may be after a day).
  • Fluctuation in your network connection, during file upload.
  • You may not have added privacy statements in your info.plist file.

Cocoa Keys: Here, is list of keys (with privacy statements) that you should consider to add in your info.plist file, if you have used that service in your application.


Nowadays, you may also face, this error code: 90186 (with app loader)

  • Outdated application loader can be reason of this error. Use latest Xcode tool and use application loader from Xcode Tool.
  • Incorrect/invalid provisioning profile, associated with your build. Ensure, your have used correct provisioning profile (A provisioning profile with Distribution/Production mode is require. A Development mode provisioning profile won't allow your to upload app on store.)

You can find latest Application Loader Tool from latest Xcode Tool: Xcode -> Open Developer Tool -> Application Loader

여기에 이미지 설명 입력


The best solution is indeed Application Loader. I can't comment on Naresh's note on this (I'm too much of a newbie to StackOverflow), but am warning you that if you are using Swift, don't the use Xcode ipa generation system. I prefer manual creation of the IPA by:

1) zipping 2 folders : a Payload folder that contain your .app and a SwiftSupport folder that you can copy from your Xarchive. 
2) rename the zip to .ipa.

Validating the same archive that failed to upload worked for me. Or just Apple's servers came back up.


If you connect a device while the app is building/archiving, your generic device will change to your connected device automatically, and when you are trying to upload to the app store you will have that weird crash.

This: 여기에 이미지 설명 입력

will change to this automatically:

여기에 이미지 설명 입력

So to answer your question, I don't know if your issue have been caused because you plugged your iOs device while archiving, but you will be able to reproduce that issue if you plug your iOS device while archiving your app. Hope this helps somebody


My problem was with the provisional profiles.

So for me it worked:

Go to Xcode preferences -> Accounts -> In my ID Apple Account -> Select "Download All"

I checked too, in member center and delete all invalid provisionals profiles and:

1 - Close Xcode

2 - Open Xcode, do clean and build of my project.

3 - Archive my code again.


Check this list or just keep trying upload!

  • Got to member center
  • Check if there are any invalid provisioning profiles (for some reason, my app store distribution profile has become invalid)
  • Delete invalid profiles
  • Create new ones
  • Download and drag on XCode
  • Reboot Mac
  • Archive => Upload to App Store
  • Everything should be fine again

I was too having this issues, I had uploaded my application and also updated it once but had no issues, but as i was uploading it for the 3rd time, i came across this issue, tried hell lot of things, scratched my head, googled it for hours, kept on trying the whole day, but nothing happened, but next day( a new light came) and my app uploaded on the first attempt.

Feel like there was some issue from apple side(be it there server, there software xCode or there mac).

So don not get dishearten if facing this problem, you can explore diff things with this problem but its just simple thing to correct this issue is to wait for some time take rest and try again.

참고 URL : https://stackoverflow.com/questions/35429801/this-action-could-not-be-completed-try-again-22421

반응형