How to debug a crashing release build? [duplicate]

走远了吗. 提交于 2019-12-12 06:49:57

问题


My debug builds don't crash, but the release builds do.

I've modified the Run scheme to use produce TestFlight release build and install it on my device. This works. But the app keeps crashing during usage. The Organizer window gives me no device logs. There are no crash reports. Nothing at all.

How do the Pros do it?


回答1:


Some possibilities:

  • Get a console app for your iPhone and look at the console on your device (e.g. https://itunes.apple.com/nl/app/console/id317676250?mt=8)

  • Use another web service like BugSense (www.bugsense.com) to receive online crash reports

  • Your Organizer window should give you device logs anyway (if the device is connected, that is). You can also try to get the device logs with another Apple tool (http://support.apple.com/kb/DL1465)




回答2:


Integrate the TestFlight SDK in your app: https://testflightapp.com/sdk/



来源:https://stackoverflow.com/questions/14977624/how-to-debug-a-crashing-release-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!