无法完成此操作。再试一次 (-22421) (Xcode)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/41290157/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
This action could not be completed. Try Again (-22421) (Xcode)
提问by Mario
I have tried to upload my app to App Store (iTunes Connect) to test my app in TestFlight, but always appears the same error message. I don′t know what I′m doing wrong. It′s the third day I′m trying to upload my app.
我试图将我的应用程序上传到 App Store (iTunes Connect) 以在 TestFlight 中测试我的应用程序,但总是出现相同的错误消息。我不知道我做错了什么。这是我尝试上传应用程序的第三天。
Also read that this is a problem from Apple's servers, but every day is the same problem.
另请阅读这是Apple服务器的问题,但每天都是同样的问题。
Please help me with this problem.
请帮我解决这个问题。
回答by Mario
I have done it with Application Loader. First export the .ipa file, and then proccesed in Application Loader to visualize in iTunes Connect. Never works with Xcode.
我已经用 Application Loader 完成了。首先导出 .ipa 文件,然后在 Application Loader 中处理以在 iTunes Connect 中可视化。从不使用 Xcode。
回答by Krunal
You can try following solutions:
Use Application Loaderto 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.
您可以尝试以下解决方案:
使用Application Loader上传您的应用程序,因为 Xcode Organizer 有时无法上传文件(拒绝 IPA),没有真正的原因,这是经常出现的问题,使用 Xcode Organizer,苹果无法永久解决。
Solution to error code: 22421
错误码解决方法: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.
- Apple 应用程序上传服务器工作不正常(文件上传期间未连接或丢失连接)。请稍等,稍后再试(可能是一天后)。
- 文件上传期间网络连接的波动。
- 您可能没有在 info.plist 文件中添加隐私声明。
Cocoa Keys: Here, is list of keys that you should consider to add in your info.plist file, if you have used that service in your application.
Cocoa Keys:这里是您应该考虑添加到 info.plist 文件中的密钥列表,如果您在应用程序中使用了该服务。
Nowadays, you may also face, this error code: 90186 (with app loader)
现在,你可能还会遇到,这个错误代码:90186(带app loader)
- Outdated application loader can be reason of this error. Use latest Xcode tooland 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/Productionmode is require. A Development modeprovisioning profile won't allow your to upload app on store.)
- 过时的应用程序加载程序可能是此错误的原因。使用最新的 Xcode 工具并使用 Xcode Tool 中的应用程序加载器。
- 与您的构建相关的不正确/无效的配置文件。确保您使用了正确的配置文件(需要具有分发/生产模式的配置文件。开发模式配置文件不允许您在商店上传应用程序。)
You can find latest Application Loader Tool from latest Xcode Tool: Xcode ? Open Developer Tool ? Application Loader
您可以从最新的 Xcode 工具中找到最新的 Application Loader Tool:Xcode ? 打开开发者工具?应用加载器
回答by Tareq abu safia
try this
尝试这个
cd ~
mv .itmstransporter/ .old_itmstransporter/
"/Applications/Xcode.app/Contents/Applications/ApplicationLoader.app/Contents/itms/bin/iTMSTransporter"