简体   繁体   中英

Debugging killed app in xcode debugger(Notification Debugging)

My notifications is crashing the IOS App when the user clicks the notification after the app was killed and removed from the background/foreground. I don't know how to get debugging information if the app isnt being ran.

You need to edit your scheme, choose Run on the left bar. and Info on the top tab bar.

Change Launch to wait for executable to be launched .

Now, you can run the app. the app will not launch and therefore, will not crash. get the notification, open it, and debug the crash.

编辑方案窗口

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM