App won't reopen after closing
<p>I'm developing an iOS app.</p>

<p>I have placed it in a workspace with other targets (frameworks) that I use in the app. I can run the app fine, but once double tap the home button and I close it completely, I can't run it again. 
I tap on the icon, and sometimes it launches the app then quits immediately, or sometimes it simply doesn't open it. </p>

<p>Is there a way to fix it or to find what is causing this problem?</p>

<p>PD: the reason why I'm doing this is to test wether reopening the app from a local notification loads the correct data for the notification that has been opened. Trying to open by tapping on the notification doesn't work either.</p>

<p>Neither the debugger or the console are printing anything out. </p>