5

When running apps in debugging mode one can simply see the logs and their println() calls straight from xCode.

I want to test some things in a production environment, and hence want to see my logs for the app I signed with an AdHoc provisioning profile. Is there any way to achieve this? How?

David
  • 7,028
  • 10
  • 48
  • 95

2 Answers2

7

In XCode 7, firstly, connect your device with your Mac, then open XCode -> Windows -> Devices. enter image description here

Choose device -> Your device (which you want to look LOG). Look at the bottom, have a small arrow, touch it to see RUNTIME LOG of device.

enter image description here

Huy Le
  • 2,503
  • 1
  • 15
  • 15
0

@david, For that you have to set AlertView Wherever you want to NSLOG,

Using Simple UIAlertView you can check your Important Log in iPhone Alert Screen, this is good Idea , you can use it. & after testing App , you have to Remove it.

 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"LOG" 
                                                        message:@"Dee dee doo doo." 
                                                        delegate:self 
                                                        cancelButtonTitle:@"Tested" 
                                                        otherButtonTitles:nil];
 [alert show];    
Mehul
  • 3,033
  • 23
  • 37