How do you debug an issue with a release mode build in iOS?

前端 未结 5 564

I am working on an iOS app and I have noticed a bug that is only reproducible when the app is built in release mode. The only way I have found to run a release mode app that

5条回答
  •  余生分开走
    2020-12-08 04:52

    You can not run an app in release mode while have having debugging turned on. That is not intended.

    When running an app in release mode you have to find a different way to observe the behaviour of your app (e.g. using alerts).

    Additionally you will have to trust the distribution profile on your device. Xcode will notify and guide you with an alert message on the first run.

提交回复
热议问题