When launching an app from a URL, there is a distinction between whether the URL is freshly launching an app, or if it\'s resuming an app that has been put into a suspended
You need to configure your Xcode app scheme to wait for the app to be launched manually. Here is how you do it: http://blogmobile.itude.com/2013/09/03/how-to-debug-deep-linking-in-ios/.
You then need to copy the launch URL and paste it to Mobile Safari. This will launch your app, and make Xcode get attached to the running app process.