Why isn't Xcode Cloning making any progress? - xcode

It was stuck at this moment.
Does anyone know how to solve this problem?
I've tried
forced quit,
shut down the system,
deleted the Xcode and downloaded it again.

Did you try to make space on your disk? It may be by that. Although it should shows a message of why. Also, contact the support team of iOS if it is not your space on disk.

Related

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

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.
minimise the organiser window
reopen it from mac floating menubar
This seems to be refreshing the connection while online. Works for me.
I had this same problem a few minutes ago, let me explain what I did:
Restart your router/modem
Restart your Mac
Set the active scheme in Xcode for iOS Device
Make a new archive
Validate before submit
These steps work perfectly for me, hope that helps.
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.
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
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.
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...
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.
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.
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.
Just adding another possible answer here that fixed it for me.
I was on a VPN at work. Disabling this and trying again worked.

Xcode 6 Installation got stuck

I'm having weird issues with Xcode. I am trying to install the new Xcode 6 from the Mac App Store, but it got stuck at "4 minutes remaining".
Earlier I had Xcode6 GM which was working perfectly fine. I thought of downloading the new version from the App Store so I deleted the GM.
Did anybody else have the same issue?
I had the same problem.
Forgive the cliche, but I had to "turn it off, then on again" (reboot the MacBook) and only then could I re-click on the "Install" button, and it'd start downloading XCode, from scratch.
Previously, using the App Store "Check for unfinished downloads" just told me that I didn't have any downloads pending, yet in the App Store app, it had XCode stuck in the "Installing" state.
Update
It's that time again. iOS 8.4 has been released, but you can only get XCode to connect to an iOS 8.4 device if you've upgraded to XCode 6.4... but you can only do that if you've upgraded OS X to the latest version. Thanks, Apple.
And as usual, download times are appalling, even if (like me), you've waited a few weeks until after the release, to avoid the rush.
And when you finally do get to click on the Update button in App Store to update XCode, it changes to "Installing" but actually, it's busy spending the next few hours downloading, rather than installing anything.
You have to keep an eye on the download bar, just below the Launchpad icon on the taskbar, to check how far the painfully-slow download has got...
I'm really not impressed.
I quit App Store, then searched for XCode in my Applications folder, clicked it, after a few seconds the download status vanished and I was able to click it again and open the app.
If it's any help, I was in Software Update this morning updating to Xcode 6.2. For several minutes, the installer was also stuck at the 4 minutes remaining mark, and then started changing the time remaining (swapping between longer and shorter intervals). From what it looks like, this is a UI issue (probably not estimating all the time it takes to install all components), more than anything else...
After clicking Install on Xcode in the App Store I got a busy-indicator in the App Store window for a few seconds and then nothing, it still just read "Install" after leaving it sit overnight.
However, I was able to download the latest version of Xcode as a .dmg file at https://developer.apple.com/downloads. The installation process was smooth from there.
In App Store, try "Store" menu -> "Check for unfinished downloads..."
I had a similar problem. Mine was stuck on "Paused". To fix it, I went to "Applications" (command-click the old version in dock -> gets you there faster) and moved to trash the Xcode app that was 337 kb in size. Then rebooted, went to the App Store and started the installation again. Turns out mine was "paused" on 2.27 gb (though I simply left my mac unattended, since the download was taking forever, and returned hours later).
Hope this helps someone, as I could not find an answer to this myself anywhere else.
I got the same problem. I updated to the last version of OSX, and then the update came automatically as a a result of that update.
I have stuck many times, this saved me. Now you try your luck on this
Apple should really consider having some more indication of install progress. Hard seeing any progress with the bar alone when installations exceed a certain amount of time. But then again I see apples security considerations indicating more detailed logging of the progress. I guess they oversee the few situations when updates are in the gigabyte range.
It may seem like a cancellation of the install , and going on for a second time, gives a faster install. But I would guess thats only because some of the install progress is cached.
My tip is; wait it out.

Always get "Network connection was lost"as a validation issue

I am trying up upload my first app to the store. I had a real issue (wrong syntax on version string) first time so I know I can get as far as validation. When I fixed that issue I now get "Network connect was lost" coming up in the Issues dialog, after quite a pause.
It is not clear if that is a problem with the validation process, between me and apple, or with my app (that does use network connections). My network is pretty solid.
Any ideas what might be happening.
I faced the same issue, then i restart my xcode once. The error gone.
Sometimes Xcode may cause for issues. So use the "Application Loader" to upload app in Appstore.
It is probably caused by unavailability of Apple's servers.
In Apple's developer's forum you can see many people live the same problem at certain times.
The most recent one:
https://discussions.apple.com/message/25437485
So... wait :)
For me, it succeeds after I change the WIFI my MBP joins.
On Mac, all I did was Renew DHCP Lease on my Wifi Information, and it worked.
You might have an Agreement e.g. Paid Apps amendment that you need to agree to.
I started to get this issue this morning, after successfully submitting builds for the same app just last night.
Remembered there was something I had to agree to when I was uploading last night (one of the two made it successfully last night despite this agreement issue).
Restarting XCode didn't help me.
On Mac, I deactivated MalwareBytes and NordVPN. It worked.

How to solve Xcode's crash?

I have tried uninstalling and reinstalling Xcode so it should behave normally but it keep open up with my last project and crash. No matter how many times i uninstall and reinstall. Is there a fix for this?? Please help i need to get this thing fix soon.
At the time of crash it says internal logic error. I read somewhere that i should restart my system after installing the new Xcode of it will crash again but as it gets installed it reopen automatically.
Thanks,
This might not be the optimal solution but I have talked to other people who have had problems like this and the solution they ended up doing was to create a new user on the Macintosh where they were having trouble and then Xcode worked perfectly fine.
Try that and see if you have any good luck.
I suspect there's some cached settings that aren't being cleared out with uninstalls & reinstalls.

So, I lost the entire Xcode Project for my app

So I did something really stupid... I got a new MBP, and gave my old one to a friend. Before I did that, I transferred all of the contents of my big folders (Documents, Downloads, etc...) to my new Mac, and then I deleted the user on my old Mac. Unfortunately, I neglected to transfer the folder that contained the entire Xcode Project for my app that is currently on the App Store, as it wasn't in one of those folders, and I'm the only one who had it. The only way of being able to retrieve it that I thought of was that since I had to upload the binary to iTunes Connect to submit the app, Apple might still have it. Otherwise, I guess I'll have to completely start from scratch if I ever want to update it again. I just contacted Apple via iTunes Connect, but I was wondering if anyone has any idea of what I am able to do now, mainly, if Apple will actually give me all the files back. Thanks.
Any chance you've got a backup via timemachine?
Timemachine can't help you in the case of a fire (see http://github.com for what you can do about fires, hurricanes, tornadoes, volcanoes, or thieves), but maybe it can save your bacon right now. :)
Yeah, you pretty much lost it. I'd recommend looking at some source control - for example Github. It's built into XCode, and Github is pretty cheap for Private Repositories, and free for public ones.
You (nor Apple) won't be able to retrieve it from the binary.
No revision control system?!
You wiped your data or only simply deleted?
Because, here is a possibility retrieve data from the HDD (or at least some parts) when only simply deleted them. Delete usually does not wipe the data.
If you can get your old HDD, you should:
- insert it into external usb-HDD enclosure
- attach to your new MAC
- make an image from it to one big file (with the command "dd") (assuming than your new HDD is bigger than your old)
- and with several tools you can "try" recover some data
every use of the old HDD drastically lowering the chance recovering something from it.

Resources