iOS: How to debug “freshly launching” an app from a URL

后端 未结 3 972
时光说笑
时光说笑 2020-12-23 18:53

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

3条回答
  •  轮回少年
    2020-12-23 19:13

    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.

提交回复
热议问题