iosxcodecrash-log

Why crash log couldn't be found


I have an app and under some circumstance the app crashes.It has crashed couple of times.But I am not able to find the crash log.

I opened Xcode -> Window -> Devices & Simulators ->View Device logs - The device

I am not seeing any crash logs over there for the Time it crashed.

Any ideas please


Solution

  • It has happened to me before.

    Just delete the old crash logs and let the crash happen and you can easily find the crash log.

    I would suggest you to use the following option to check for the crash logs in iOS device itself as its easy and quick to do.(depending on the OS version the below selection process will change)

    Settings -> Privacy -> Diagnostic & Usage -> Diagnostic and Usage Data

    Just connect the iOS device to a machine and sync it with iTunes then all the crash logs that you saw in Diagnostic and usage Data will not be there any more and it'll be in the machine.

    Next time when the crash happens you can see the crash log