Pregunta

I have tried to enable push notification logging on my iPhone according to these instructions: Apple Technical Note 2265.

I have managed to install the PersistentConnectionLogging.mobileconfig file without any problems. When looking in the console window for my device, I get the following warning:

<Warning>: Unable to open logging file '/var/mobile/Library/Logs/PersistentConnection/com.apple.syncdefaultsd-syncdefaultsd-APSClient.log'

What does this really mean? It seems to me like that it is failing to create the logging file on my computer :(

I have created the path on my computer.

Has anyone encountered the same problem? Is it possible to set the path where the log shall be saved?

¿Fue útil?

Solución

As it turns out, the logging via the Organizer does not seems to be working. According to the technical note, console logging is not available in iOS 6.x. However I could read the log using iTunes.

You must connect your device and synchronize it. After this the crash log should be found here (on Mac OS X):

~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>/PersistentConnection/

I hope this helps someone.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top