Myoch
Myoch

Reputation: 845

How to get crash logs of Testflight external testers on Xcode or iTunes connect?

Is there any ways to know what's wrong with someone's app. It is working on everyone else's device but this person.

The person tried removing the previous version and installing the new one, but it still does not work. I suspect that one of the files that I place in the documents folder might still be there... but the format of this file has changed since...

Upvotes: 9

Views: 10304

Answers (2)

user462990
user462990

Reputation: 5532

I am attempting to solve this logging of execution in TestFlight with the following simple approach... In in-App Billing you really have to use TestFlight, so the problem is serious.

The "print("text") statements can be replaced in the code to calls to a func printTestFlight(text: String) which writes the strings to a database along with some identifier so you know the user.

This is quite simple and obvious, and to an extent it works.

If there are events which are logged by the os rather than teh user, then this approach misses those, notably the interesting ones around a crash. I'd be happy to hear from anyone who knows how to do thiso

Upvotes: 0

Michael Dautermann
Michael Dautermann

Reputation: 89509

Apple has a technote about this named Debugging Deployed iOS Apps.

Also, if your tester syncs up their iPhone with a Macintosh or PC, iTunes also helpfully moves logs into predictable places where they can be retrieved from.

Upvotes: 4

Related Questions