9

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...

MMiroslav
  • 1,672
  • 20
  • 32
Myoch
  • 793
  • 1
  • 6
  • 24

2 Answers2

4

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.

Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
  • Thanks, the second part of your answer might be what I am looking for. I will wait for my tester to do it to see if that's the information I am looking for. And I'll wait to have more points to +1 your answer ;) – Myoch Apr 15 '15 at 17:52
  • Ok, so I have managed to reproduce the bug on my tablet, so I can even check your link and try to find my own reports. However, there is nothing related to my app in the folder mentioned in the second link. Could it be because I archived it in release mode rather than debug? – Myoch Apr 16 '15 at 11:42
0

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

user462990
  • 5,472
  • 3
  • 33
  • 35