I'm looking for more information on this message. 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.
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!
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.
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
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
- 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!
Simple solution:
- 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
The Best way: Disconnect the Iphone Clean xcode by command+ shift + k or by going to Product -> Clean connect again run again
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.
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.
- Unpaired my iPhone
- Removed my USB cable and reconnected it (Do make sure that you unplugged the USB and plugged it back in)
- Paired the iPhone.
(3 important steps)
Clean : Shift-Command-K is what works for me.
I updated to iOS 11.0.3 then the error appeared. After restarting my iPhone and XCode, it showed "Could not launch the app", so I navigated to the phone's device management to trust, then it solved.
I had this problem because I hadn't given iTunes permissions to run on the computer. (I don't use iTunes for music, so I had foolishly just hit "decline" in annoyance whenever the EULA dialog box came up.)
Quit Xcode and delete the contents of ~/Library/Developer/Xcode/iOS Device Support.
I updated my iPhone to the latest version 11.0.3, then restarted my iPhone. Restarted my XCode 9. Then it worked.
The 'Continue' button is under the error message. Just hit 'Enter'
You should confirm that the device was listed on my 'Managed Devices' on Apple @ https://appleid.apple.com/account/manage
For those looking for solution with Apple TV, I just experience the exact problem "Apple TV is busy: Preparing debugger support for Apple TV” with Apple TV 4K with my Macbook Air (Early 2015)
The solution is not to unpair or restart devices. But to switch network. I brought it to a faster and more open network and it works perfectly.
TL;DR: Settings > General > Profile & Device Management > (Under DEVELOPER APP category) click my email address that happens to be my Apple ID > Trust Developer
This might not be relevant to anyone else, as I am new to iOS development and this was my first attempt to install an application on my phone, but I'll provide the answer as it wasn't yet listed.
I went through restarting my phone, restarting Xcode, unplugging and plugging back in, clean building, and even removed the device from the Devices and Simulators menu. However, I believe the cause for me was that I hadn't added my developer certificate to the listed of trusted certificates on my device.
I am on iOS 10.3.3 so the navigation and wording in Settings on the phone might be slightly different, but the final step I took before this issue was fixed was to trust my developer certificate as an individual developer on my phone.
To do that, go Settings > General > Profile & Device Management > (Under DEVELOPER APP category) click my email address that happens to be my Apple ID > Trust Developer
Whether or not that was the cause of my problem, I am unsure. This was, however, the last step that I took before the app ran on my phone successfully after doing all of the other steps listed above.
If running beta software and you update the OS, make sure to get the latest Xcode beta also. This fixed it for me.
I left AppCode open while Xcode was trying to process the device, closing it solved the problem. Maybe can be one of the possible issues.
For me it Worked after following the below steps
Step-1 Go to Devices and Simulator
Step-2 Deselect Show as run destination and Connect via network Options
Wait for Few seconds to Load the Xcode, If you want you can restart Xcode also.
Step-3 Follow the same steps and got to Devices and Simulators
Tick back both the options and it will be normal to install your app back.
I had the same problem on macOS 10.14.5 using Xcode 10.2.1. After none of the solution here worked for me I restarted the Mac and this did the trick...
来源:https://stackoverflow.com/questions/46316373/xcode-9-iphone-is-busy-preparing-debugger-support-for-iphone














