Unstoppable Xcode Device Logging in Console with iOS 10

Just like the title states, my device log console in Xcode7 and Xcode 8 has unstoppable logging when I went to iOS 10 on my iPhone, making it impossible to use it aa a debugging tool

Does anyone else see this?

This is with El Cap 10.11.6

There is possibly a workaround for this but I don’t have access to the scheme to try.

Here’s the link discussing it.

http://stackoverflow.com/questions/39601445/xcode-8-ios-10-non-stop-device-logs

Is there anyway Corona can help with this as it is currently impossible to debug on device.

set OS_ACTIVITY_MODE with the value disable or some other scheme or print filter that we can access?

HELP!!!

Nail

You can try using iOS Console which allows you to filter the content.

https://lemonjar.com/iosconsole/

Thanks Ingemar! Exactly what I needed.

Nail

Try iOS Console but the result is still bad. This is really a nightmare.

Can Corona just turn off the nonstop device logs as suggested in stackoverflow: http://stackoverflow.com/questions/39601445/xcode-8-ios-10-non-stop-device-logs

adding OS\_ACTIVITY\_MODE environment variable with "disable" value disables crazy OS logs. 

Corona, please.

First of all, this is a feature of iOS 10 devices. Apple has left way too many debugging messages on. They are catching up to Android in this area. The logs are now insanely noisy.

Next, the OS_ACTIVITY_MODE will only affect Xcode Simulator runs. It has no effect on device builds.  

The solution is to file enough bug reports with Apple so they go turn off all of their debugging or add a filter feature to Xcode.

Finally, if you use Corona SDK’s build screen option to install to the device for you, when the build is done you will get a message about us redirecting the device console to the Corona console. DO NOT close that dialog and you will find the device messages showing up in the Console Log window that the Simulator launches (this is a Mac only feature currently). We do try and filter out just Corona generated messages. It’s not perfect, but it’s better than using Xcode.   I’ve not used the IOS Console project listed above, but that apparently works too.

Rob

On Mac, the best solution presently is NOT the iOS Console project - although it works, it’s a bit slow.

The best Mac solution is to run Applications\Utilities\Console.app (which Rob mentioned above) and use the filter so that only your App is displayed. It’s quick and fast and because you can make it full screen, it’s actually better than XCode.

I second @troylyndon’s suggestion. I only use macOS’ Console app nowadays for filtering log messages. It’s quick and easy to use + it’s  faster than the iOS Console app I mentioned earlier.

You can try using iOS Console which allows you to filter the content.

https://lemonjar.com/iosconsole/

Thanks Ingemar! Exactly what I needed.

Nail

Try iOS Console but the result is still bad. This is really a nightmare.

Can Corona just turn off the nonstop device logs as suggested in stackoverflow: http://stackoverflow.com/questions/39601445/xcode-8-ios-10-non-stop-device-logs

adding OS\_ACTIVITY\_MODE environment variable with "disable" value disables crazy OS logs. 

Corona, please.

First of all, this is a feature of iOS 10 devices. Apple has left way too many debugging messages on. They are catching up to Android in this area. The logs are now insanely noisy.

Next, the OS_ACTIVITY_MODE will only affect Xcode Simulator runs. It has no effect on device builds.  

The solution is to file enough bug reports with Apple so they go turn off all of their debugging or add a filter feature to Xcode.

Finally, if you use Corona SDK’s build screen option to install to the device for you, when the build is done you will get a message about us redirecting the device console to the Corona console. DO NOT close that dialog and you will find the device messages showing up in the Console Log window that the Simulator launches (this is a Mac only feature currently). We do try and filter out just Corona generated messages. It’s not perfect, but it’s better than using Xcode.   I’ve not used the IOS Console project listed above, but that apparently works too.

Rob

On Mac, the best solution presently is NOT the iOS Console project - although it works, it’s a bit slow.

The best Mac solution is to run Applications\Utilities\Console.app (which Rob mentioned above) and use the filter so that only your App is displayed. It’s quick and fast and because you can make it full screen, it’s actually better than XCode.

I second @troylyndon’s suggestion. I only use macOS’ Console app nowadays for filtering log messages. It’s quick and easy to use + it’s  faster than the iOS Console app I mentioned earlier.