robovm icon indicating copy to clipboard operation
robovm copied to clipboard

iOS 26.1 no log output in console

Open davidgiga1993 opened this issue 2 months ago • 3 comments

Since updating to iOS 26.1 the MacOS Console for the iOS device doesn't print any app log statements anymore (written to stdout/stderr). Only <private>

Image

davidgiga1993 avatar Nov 09 '25 15:11 davidgiga1993

hi, all stdout/NSLog output is now considered as private and OSLog to be used. I've added this api as part of https://github.com/MobiVM/robovm/pull/820, will provide a workaround in 1h

dkimitsa avatar Nov 09 '25 18:11 dkimitsa

Thanks a lot for your super quick response!

davidgiga1993 avatar Nov 09 '25 19:11 davidgiga1993

hi, @davidgiga1993 sorry it was not 1h as there was no workaround )

please check https://github.com/MobiVM/robovm/pull/828/files for approach. currently you can just use two java files from it and build native wrapper either into just .o file or .xcframework using build scripts from framework.

please let me know if you need any support with it.

dkimitsa avatar Nov 11 '25 08:11 dkimitsa