Xcode 15 logs nil as an empty string, not (null)

from blog The Desolation of Blog, | ↗ original
I just discovered a shocking, troubling, and as far as I know, undocumented change in Xcode 15: the functions os_log and NSLog now log nil as an empty string. The previous behavior, going back forever as far as I remember, was to log nil as (null). Here's a sample command-line tool run with Xcode 14: And here's the same tool run with Xcode 15:...