title: How can I debug an iOS app executed in mobile not launched by Xcode?
body: <p>I am developing an application for iOS in Objective C with Xcode. This application schedules local push notifications every 6 hours and it is crashing when I open the push notifications.</p>
  
  <p>I need to debug the error to solve it. I can have the mobile connected to Xcode, but as the app is executed from local push notification I can't see the error messages on my Xcode debug console, as I haven't launched my app from Xcode.</p>
  
  <p>Is there a way to have the iOS device connected to my Mac and see what error is happening?</p>
  
  <p>I know that I can go to the mobile settings to view logs, but these logs are too ambigous for me aren't giving any error.</p>