Cannot submit Xcode Archive to Itunes Connect. “Uploading Archive: Sending API Usage to Itunes Connect”

ε祈祈猫儿з 提交于 2019-12-09 08:03:34

问题


Hello Ive sent a version of my app one week ago through Xcode 6 and it didn't have any problem. Today Ive tried to upload a new version of my App via Xcode and when uploading, the progress bar stays in "Sending API usage to Itunes Connect". It doesn't give me any errors, nor warnings, it just stays like that forever.

Ive been looking in google and also in here, and found a lot of solutions (ones more logical than others). Well, Ive tried ALL those solutions, I've created new provision profiles, restarted my computer, restart Xcode, changed "netinfo", connect to new wifi, among others.

Its really driving me crazy since I didn't do anything, it just stopped working.

There are a lot of question with this same topic on the internet (including StackOverflow) and I think there is no one ultimate answer that really explain why this happen. Ive seen very detailed answers but none of them worked for me.

Some of this questions are:

1) Can't Submit App to App Store: “Sending API Usage to iTunes Connect” either times out or loses connection.

2) Application Loader (Apple) stuck on “Sending API usage to iTunes Connect”.

3) Stuck on “Sending API usage to iTunes Connect”.

If I export the archive into an .ipa I can upload it with application loader. I don't know why I can't do it with Xcode. Ive always used Xcode for this.

The reason I want to know how to do it with Xcode is that I don't know if uploading only the .ipa and configuring in app purchases only directly via itunes connect's webpage without doing it in application loader(the button that says "New In-app Purchases" template) , will also work.

I hope someone could help me.

Thank you.


回答1:


  1. minimise the organiser window

  2. reopen it from mac floating menubar

This seems to be refreshing the connection while online. Works for me.




回答2:


I had this same problem a few minutes ago, let me explain what I did:

  1. Restart your router/modem
  2. Restart your Mac
  3. Set the active scheme in Xcode for iOS Device
  4. Make a new archive
  5. Validate before submit

These steps work perfectly for me, hope that helps.




回答3:


I also faced similar problem. I can't upload from my office, but can upload from my home. I assumed that my office's internet connection has problem with Apple server. If you get problem with Xcode to upload, you can download Application Loader separately from iTunes connect and try with that and wait for passing sending api usage state.




回答4:


Try doing this:

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

Seems to be working for a lot of others - https://forums.developer.apple.com/thread/76803




回答5:


I couldn't make this work on XCode 7.1.

I had to upgrade to 7.1.1, which allowed me to export the binary for App Store Deployment, and then use the Application Loader to upload the app for review.

Absolutely crazy, Apple.




回答6:


I've found that instead of restarting your router and machine etc, simply clicking 'Renew DHCP Lease' in the TCP/IP settings of your internet device (under Network in System Preferences) solves the issue much quicker and easier, for me anyway.

Just another error that makes working in Apples eco-system all the more fun and exciting...




回答7:


There was no one particular procedure that seemed to do it in my case: restarted router, restarted Mac, restarted Xcode, recreated profiles on developer website, viewed them in Xcode, recreated archives, attempted just validating for App Store. All of these things over and over again.

My experience has been that you should just kept trying until suddenly it works. Which is sadly not the magic button to click that I was looking for.

Possibly the fact that I managed only twice in the last dozen or so upload attempts in the morning from here in the UK (making it approx 02:30 over there in the US), indicates it's perhaps an iTunes overloaded problem.




回答8:


I had the same problem, though none of the suggested steps solved my problem, other than using the Application Loader.

However, one thing that bothered me was a warning message saying that:

The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.

It came to me that it might be the reason why Xcode's uploading might be messed up, since it locks at the Sending API usage to iTunes Connect.

Some people mention it in some posts here in stackoverflow.




回答9:


For me Network is not allowing to upload the build as office wireless is having firewall so I had to move to other wi-fi to upload the build.




回答10:


Just adding another possible answer here that fixed it for me.

I was on a VPN at work. Disabling this and trying again worked.



来源:https://stackoverflow.com/questions/29312481/cannot-submit-xcode-archive-to-itunes-connect-uploading-archive-sending-api-u

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!