Reputation: 923
I cant install he app on iphone i'm stuck on this message.
"Preparing debugger support for iPhone"
Tried all answers here and still nothing.
It is followed by itunes could not connect to iphone or whatever...
I'm using a virtual mac machine.
Upvotes: 4
Views: 8865
Reputation: 11600
My setup
Tried all the "speed-it-up" tips up till 2019-11-24 without luck. The wait seemed inevitable but incredibly long in my case:
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!
~/Library/Developer/Xcode/iOS DeviceSupport
as this tip suggested.Upvotes: 0
Reputation: 923
After hours of research and useless downvotes i got the tiny trouble. My virtualbox was configured to connect the devices over USB 1.0
As soon as i installed extensions pack and switched to USB 2.0 the app started deploying.
Upvotes: 3
Reputation: 2113
Using macOS High Sierra. I had my app working by going to my iPhone to configure.
Settings > General > Device Management > Click Trust "(Developer Apps)"
Upvotes: 2
Reputation: 141
For me, the following worked: On iphone open Settings -> Developer -> Clear Trusted Computers. Then disconnect and reconnect the iphone. Confirm that you trust this computer. After that, the error disappeared.
Upvotes: 13