I am deploying an app onto the device from xcode. Xcode loses connection to the device and will quit the program when I try to record device's screen via QuickTime player.
Is there any way to deploy app onto device and exit the debug mode.
Select a project in xcode and click Edit Schema
and uncheck the Debug executable
option. This will remove the link between app and debugger once the app is launched. Now if you try to mirror the screen, app doesn't crash.