Activating Airplane Mode while debugging detaches debugger

Number:rdar://23021571 Date Originated:10/07/2015
Status:Open Resolved:
Product:Xcode Product Version:7
Classification: Reproducible:Always
Turning on Airplane Mode while debugging an app on an iPhone 6S with iOS 9.0.1 and Xcode 7 causes the debugger to detach and the app immediately quits.

Steps to Reproduce:
1. Create a new project
2. Build and Run on a device
3. Once the app is running open Control Center
4. Turn on Airplane Mode
5. Close Control Center
6. Wait about 2-3 seconds
7. Debugger detaches and the app quits

Expected Results:
Debugger should stay attached and app should continue running. 

Actual Results:
Debugger detaches and the app quits

Version 7.0 (7A218)


iOS 9.0.1
Version 7.0 (7A218)
iPhone 6S


This issue is still present as of Xcode 9.4.1, iOS 11.4.1 on iPhone X

However, disabling Personal Hotspot in settings seems to have fixed it for me (

This is still an issue in Xcode 8.3

Configuration: iOS 10.3.3 Xcode 8.3 (8E3004b) iPhone 7 Plus

Hello, I have the same problem on an iphone 6 but it appears after i launched the iPhone 6S simulator (not sure it is linked). Any idea how to fix this issue?


By jonathan.moraly at Feb. 2, 2016, 7:18 p.m. (reply...)

Same problem here with xCode 7.1 and same problem when I activate "Personal Hotspot" or when I disable "Personal Hotspot". I got the same "Lost connection to "(null)".

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!