- iphone is busy: waiting for device, xcode will continue when iphone is finished
- 3 Answers 3
- Not the answer you’re looking for? Browse other questions tagged xcode or ask your own question.
- Linked
- Related
- Hot Network Questions
- Subscribe to RSS
- Xcode stuck on copying cache files from device tvOS
- 10 Answers 10
- Solution:
- iPhone is busy: Making Apple Watch ready for development
- Answers
- Fixing Xcode 9 issue: «iPhone is busy: Preparing debugger support for iPhone»
- 36 Answers 36
- with a freshly upgraded iOS version.
- So here are my suggestions:
iphone is busy: waiting for device, xcode will continue when iphone is finished
This error occurred when I used the Iphone for debugging.I’ve tried restarting the Iphone and mac,but it hasn’t worked.
3 Answers 3
way1: Restart XCode 🙂 way2: Enable background app fetch on iPhone (disable low-power mode)
I had to click the small yellow hammer on the top bar on xcode and set it to the new build setting (rather than legacy build)
What worked for me was these steps:
- Unplug device cable
- Restart Xcode
- Plug device back in with cable
- Run app while still having this issue
At this point I just waited a few seconds and then the error went away, before also completing the build and running the app successfully on the device.
Not the answer you’re looking for? Browse other questions tagged xcode or ask your own question.
Linked
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.12.8.40942
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Источник
Xcode stuck on copying cache files from device tvOS
I’ve been trying to connect my Apple TV with Xcode and it got stuck on copying cache files from device. It was connecting before as usual but suddenly it stopped.
Version Information
Apple TV : tvOS 13.4.6(17L570)
Xcode : 11.5 (11E608c)
MacOS: 10.15.4 (19E287)
What I’ve tried so far?
- Clean build folder and rebuild
- Remove derived data
- Pairing and unpairing Apple TV thousand times
- Updated MacOS to latest version
- Reset Apple TV Couple of times
- Uninstall / Install Xcode again
APP is busy: Copying cache files from device
Xcode will continue when APP is finished.
10 Answers 10
Had this issue with iPhone SE, rather than AppleTV, and found only this question in my searches.
Ended up that I simply had to wait (very impatiently) with Xcode active on my Mac screen, and keeping the iPhone awake/unlocked, for it to finish. Felt like forever, but it was less than 30 minutes in the end.
It seemed to stop the process if I moved off of Xcode to work on something else, or if the iPhone screen locked. So, keeping Xcode as the active app and keeping the iPhone awake seemed to allow the process to finally finish.
Sometimes when you open the devices window you can see the error results the hang issue. in my case it was that Xcode version was too low than the devices version.
Closed Xcode updated it and it’s fixed now.
Had the same issue. Removing all apps and reseting device helped for me.
I got it to work without having to wait the 30 minutes. I changed my lock phone to never. I ran my code in the iOS 12 simulator. I rebooted my phone. I brought up devices and simulators, and it said my phone was ready with a solid globe, so I unplugged my cable. Changed from simulator to my device. Ran it, and it worked.
In my case I Quit and start my Xcode again, this got fixed. In some cases updating Xcode can be required.
Seemed to happen to me when I updated my iOS version. The solution was to remove the app from device and rebuild from Xcode.
I had the same problem, I just restarted my device and restart Xcode. No more waiting.
I did exactly what you did. All of that and even more. Nothing helped. Also i tried to bring router, appleTV and macbook together physically, and that did not helped too. I left them for two hours. There are the result: 6 errors with detail description:
Solution:
Go to AppleTV -> Settings -> Main (Основное) -> Storage (Управление хранилищем) and remove all apps. Or you can remove some of them one by one and try to build every time. After removing some games and small not famous apps the xcode come work with AppleTV!
Next morning i started to connect Xcode and AppleTV4K again and the issue appeared again. I reloaded router and waited for 5 minutes. After that it works.
Note: If your wifi connection is not stable — it can be a long time while symbols would copy. So as the additional step — upgrade your wifi router. And be ready to wait 20 min.
Источник
iPhone is busy: Making Apple Watch ready for development
Since I upgraded to iOS 15, watchOS 8 and Xcode 13, after I turned off and on my Mac, every first time I want to launch an app from Xcode to my iPhone appear this message (even if I’m not developing for watchOS):
The Mac stays stuck on it for at least 20 minutes.
The only solution I found (until now) is to switch off WiFi on my Watch.
Is there a better solution?
Answers
You might have better luck asking this question over in Apple Support Communities run by Apple Support.
Did you try to reboot the watch ?
If that’s not enough, try to unpair the watch from iPhone and pair it again.
Toggling Aeroplane mode also works
Airplane — not working. Thousand time this ******** appear.
Having the same issue on Xcode 13.0, iOS 14.7.1 and WatchOS 7.1, also in trying to debug an iOS app (i.e. I’m not developing for WatchOS). I’ve restarted the computer, watch and phone, and unpaired / re-paired the phone from Xcode’s devices, but can’t get it to work consistently (I get stuck on «Making Apple Watch ready for development» maybe every other or every third time I try to launch the app).
Turning the watch off entirely does the trick (as I imagine airplane mode would too), but I’d like for my watch to work as well 😕
Facing this issue since Xcode 13 betas. Disabling Bluetooth in the iPhone temporarily fixes the issue for me.
With the Control Center Bluetooth icon in grey, no need to fully disable it in the Settings app.
I had the same problem, but iOS 15.0.2 / watchOS 8.0.1 no longer causes the problem.
I still have this issue in iOS 15.2 and watchOS 8.2. The issue was never gone.
This issue is driving me nuts. And for me it happens literally every time I plug in my iPhone. Unplug, plug it back in, wait 5 minutes for Xcode to make the watch ready for development. Which then usually (but not always) fails by the way! Plug it back in, and you’re just stuck waiting for 5 minutes yet again.
When it fails, I get this error:
Unable to prepare iPhone for development Could not locate the device support files.
But building an app to my iPhone still works 🤷♂️
Источник
Fixing Xcode 9 issue: «iPhone is busy: Preparing debugger support for iPhone»
I’m looking for more information on the message below. Xcode 9 seems to be hanging for a couple minutes already.
How can I tell Xcode 9 to quickly recognize my previously used device updated to iOS 11?
.Alex’s iPhone is busy: Preparing debugger support for .Alex’s iPhone
Xcode will continue when .Alex’s iPhone is finished.
36 Answers 36
There are multiple solutions for this:
Solution 1: Patiently wait for 10 to 15 minutes. Have a tea or roam around 😉
Solution 2: Disconnect device from the system. Restart both iPhone and Xcode and then rebuild again.
Solution 3:
Go to Windows → Devices and Simulators (Shortcut key: cmd+shift+2)
You’ll see iPhone device connected to system with message
iPhone is busy: Preparing debugger support for iPhone
Click on plus button (+) present in bottom-left corner.
This will show the device connected to system. Click on Next button.
Thereafter you’ll see ‘device setup was successful’. Click on Done button.
Solution 3 worked for me!
Solution 4:
Unpair your device and then pair it again. Thereafter follow Step 3.
I clicked ‘Cancel Running’, opened the Devices list, unpaired my iPhone, removed my USB cable and reconnected it, paired the iPhone, and then was asked on my iPhone to enter my passcode («pin code»). Did this and then was finally able to pair my phone correctly.
Wait a few minutes. The application will start automatically
Restarting Xcode worked for me (quit and start again).
What didn’t work for me:
- waiting for an hour on one device
- waiting for an hour on another device
- restarting devices
- unpairing/pairing devices
It turns out XCode opens device manager window beneath it and waits for you to hit the next button. Switch to that window, hit next and you get the progress bar for the process to show up.
In my case, iTunes was open, so
2 — access you phone
3 — click to disconnect your phone
Now the device is ready on XCode
below solution worked for me, follow steps to resolve your issue:
Step 1: Cancel Running
Step 2 : open Window menu and select Devices and Simulators
Step 3 : Unpair the iPhone
Step 4 : Removed iPhone USB cable and reconnect to the system
Step 5 : Pair the iPhone when you connect then you will be asked to Trust or Don’t Allow, Please click Truct on your iPhone and enter your passcode (Pin Code)
Note : I performed all the above steps they worked for me. The issue of my device debugger gone.
Below is the Screenshot of Devices and Simulators Menu
I unplugged my cable and saw this. After it reached the end I was able to run it no problems.
You don’t have to unplug to see this; just hit cancel and you will see its progress.
- Click on Window menu
- Select Device and Simulators
- Select your device
- Click on + button at bottom left corner
- Click Next
- Click Done
I found deleting the app from the device and re-installing with Xcode solved this issue.
I realised I had less than 100 MBs of free space on my disc. Freeing up disk space solved the issue for me!
- Open Window -> Devices and Simulators
- Unpair iPhone on the side list
- Unplug and plug again the USB cable
- Press Trust in the prompt message in the device!
- Then it should work! It worked for me
I have been using my iPhone X to debug via Network and suddenly had this problem.
Disable «Connect via network» and try again with USB. This trick worked for me.
When you plug a New device which is having iOS 11, Xcode 9 will Prepare Debugger Support for that device, At this time you should Wait to complete it.
Then run the project in that device it will run smoothly.
If you didn’t keep patience while creating Debugger Support then it will throw the error mentioned in the question.
The Best way:
- Disconnect the Iphone.
- Clean xcode by command+ shift + k or by going to Product -> Clean
rebooted iPhone, closed all other open applications and unlocked phone worked
I had the same problem many times, these things worked for me:
- restarting my phone + xCode.
- checking that both your Mac and your iPhone are connected to the same Network.( has a high potential ).
- repairing my phone.
Tried all the «speedrun» tips up till 2019-11-24 without luck. The wait seemed inevitable but incredibly long in my case:
with a freshly upgraded iOS version.
I then found this comment on reddit which makes the most sense:
This is required when you connect a device with an iOS version that the respective computer’s Xcode didn’t see before. It saves them in /Users/username/Library/Developer/Xcode/iOS DeviceSupport and it does take a while. Don’t restart Xcode as it will not help you, just wait for it to finish.
It takes quite some time because these debugger support files occupy a lot of space (29 GB for me), though you can safely delete any version from there, and if you connect a device with that version again, it will re-save it from scratch.
So if you just upgraded your iOS, then the «from scratch» part could take longer than usual, also depending on your network condition. In my case, it is definitely much much longer than the «10-15min» other people claimed. I measure it by hours.
A lot of tricks seem to have worked but they neglect the fact that time goes on as you try things while Xcode keeps working on the setup in the background, and quite possibly resumes its job whenever you do a restart/reboot cycle.
This led me to noticing that my Xcode version is just one step behind the iOS point release. After upgrading my Xcode, it worked.
But it took longer because I removed the iOS DeviceSupport folder by following a tip!
So here are my suggestions:
- Check your Xcode version down to the minor version to make sure it should actually support the iOS version.
- Check your Mac’s free disk space to make room for newly generated device support content under
/Library/Developer/Xcode/iOS DeviceSupport as this tip suggested.
Источник