6 Replies
      Latest reply on Aug 5, 2019 2:22 AM by saravanan@wipro
      jniba Level 1 Level 1 (0 points)

        hi all,

         

        i need to get crash logs programmatically when my application restarts after a crash. I know that if I enable a configuration given by apple, crashlogs are maintained in the device, which I can access using itunes / xcode. But i want to do it programmatically in my next app restart,

         

        Thanks in advance for any help

         

        regards

        jniba

        • Re: get crash log programmatically
          eskimo Apple Staff Apple Staff (11,625 points)

          What platform are you targeting?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

            • Re: get crash log programmatically
              jniba Level 1 Level 1 (0 points)

              Hi Eskimo,

               

              I target ios and android, as I have put the question in ios platform, I would first be ok with ios platform now.

               

              thanks and regards

              jniba

                • Re: get crash log programmatically
                  eskimo Apple Staff Apple Staff (11,625 points)

                  There’s no supported way for an iOS app to get at its own crash logs.

                  Lots of folks work around this by using a third-party crash reporter.  In my experience that’s a poor tradeoff, because third-party crash reporters have a tendency to fail when you need them most (that is, when dealing with the nastiest in-the-field-only crashes).

                  Share and Enjoy

                  Quinn “The Eskimo!”
                  Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                  let myEmail = "eskimo" + "1" + "@apple.com"