Is there a way to view the logs for AdHoc applications?

When launching applications in debug mode, you can simply see the logs and their println() calls directly from xCode.

I want to test some things in a production environment and therefore want to see my logs for an application that I signed up with an AdHoc provisioning profile. Is there any way to achieve this? How?

+5
source share
2 answers

In Xcode 7, firstly connect your device to your Mac, then open Xcode β†’ Windows β†’ Devices. enter image description here

Select the device β†’ Your device (which you want to view LOG). Look at the bottom, take the small arrow, tap it to see the RUNTIME LOG device.

enter image description here

+7
source

@ david . To do this, you need to install AlertView wherever you want NSLOG,

Using Simple UIAlertView , you can check your Important Journal on iPhone Alert Screen, this is a good idea, you can use it. and after testing the App you need to Uninstall .

  UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"LOG" message:@"Dee dee doo doo." delegate:self cancelButtonTitle:@"Tested" otherButtonTitles:nil]; [alert show]; 
0
source

Source: https://habr.com/ru/post/1213674/


All Articles