When running my app on device and than testing offline mode by clicking flight mode on device itself, after 3 seconds i'm getting this message:
Restore the connection to "iPhone 6" and run "APP_NAME" again, or if "APP_NAME" is still running, you can attach to it by selecting Debug > Attach to Process > APP_NAME.
Does anyone have a clue?
Ok, i found workaround. Just turn off the Personal Hotspot in Settings. For me it worked. <3 Apple...
I am experiencing the same problem. A little showstopper when trying to check the offline behavior of your App (e.g. Reachability, custom error messages etc).
This is a known Bug with Xcode 7 and iOS 9, already reported with Apple some month ago: http://www.openradar.appspot.com/23021571
You were likely unable to find it because it's not called "flight mode" but "airplane mode" officially.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With