I can plug in an iOS device and tell Xcode to run my app on that device or stop it. I can have the app paused at any time and use the debugger to debug the running app. How is this all possible? There must be some kind of a background process on iOS that acts as a liaison between Xcode and the debugger and iOS.
IOS – How does Xcode communicate with an iOS device
iosxcode
Related Question
- IOS – Xcode 5.1.1 cannot run on device with iOS 8.0 version
- IOS – get a signed iOS 8.2 .ipsw file for iPhone 4S
- IOS – Is it possible to copy iPhone data to Mac using Xcode
- Limit to how long Xcode will run an app on a device, before “Finishing”
- IOS – How to resolve iPhone 7 running iOS 13.1.2 not supported by Xcode 10.1
Best Answer
When you connect iPhone to Xcode and you click 'Use for Development', Xcode will download and mount DDI(Developer Disk Image). This image has DebugServer.app along other utilities that permit Xcode to perform development actions.