Warning messages on startup

Hi,
Everytime I run my project. Or even any demo project, I get these messages at startup:

JUCE v5.2.0
2017-11-30 15:10:50.380197-0800 MyFirstProject[21044:4583454] [AudioHAL_Client] HALC_ShellObject.cpp:212:HasProperty: HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
2017-11-30 15:10:50.381548-0800 MyFirstProject[21044:4583454] [AudioHAL_Client] HALC_ShellObject.cpp:212:HasProperty: HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
2017-11-30 15:10:50.383012-0800 MyFirstProject[21044:4583454] [AudioHAL_Client] HALC_ShellObject.cpp:212:HasProperty: HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)

And then, when I exit the application, I get:

objc[21044]: objc_disposeClassPair: class ‘JUCEWindow_6b2939c0a014f877’ still has subclasses, including ‘NSKVONotifying_JUCEWindow_6b2939c0a014f877’!
objc[21044]: objc_disposeClassPair: class ‘JUCEWindow_6b2939c0a014f877’ still has subclasses, including ‘NSKVONotifying_JUCEWindow_6b2939c0a014f877’!
objc[21044]: objc_disposeClassPair: class ‘JUCEView_4c18c8f3d1dec063’ still has subclasses, including ‘NSKVONotifying_JUCEView_4c18c8f3d1dec063’!
objc[21044]: objc_disposeClassPair: class ‘JUCEView_4c18c8f3d1dec063’ still has subclasses, including ‘NSKVONotifying_JUCEView_4c18c8f3d1dec063’!

I was wondering if anyone could explain what this is? I want to find out because I’m planning to do a demonstration for a school project and I’m worried something might go wrong, or crash or something.

I am on a mac:
macOS High Sierra 10.13.1
Xcode 9.1 Build version 9B55

Thanks,
MG

It seems that the OS creates some kind of obj-C notification subclass for our window and view classes, and is just a warning at shutdown that when we clean up and release our old window classes, the OS-derived versions are still hanging around. I have no idea how we’d work around that, except to just leak our obj-C classes… but if anyone has some guru-level knowledge about what on earth those NSKVONotifying_* things are, or how to make them go away, let us know!

But TL;DR: Don’t worry about it, it’s not harmful, just a warning.

1 Like

Previous thread:

Rail

1 Like

Thank you for the explanation, (and putting my mind at ease =)