title: How to test in device while offline?
body: <p>I am using Xcode 7.1. I have successfully managed to run/debug my app from Xcode 7.1 into an iOS 9 device. However that only works while the device is online. If it is offline I get an "Untrusted Developer" error message when I try to run the app. This is a problem since my app has some offline behavior that I need to test.</p>
  
  <p>How can I test my app while the device is offline?</p>
  
  <p>I have already trusted the profile in Settings > General > Profile.</p>
  
  <p><a href="https://i.stack.imgur.com/Dcx7Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dcx7Z.png" alt="enter image description here"></a></p>
  
  <p>I am not sure if I also need to verify the app. I tapped on Verify App several times. But nothing happens. The app stays in unverified state.</p>
  
  <p>PS. I have not enrolled for any iOS Developer program.</p>