The preference.lcm file causes a crash on macOS 10.14 when calling ObjC_NSUserDefaultsInitWithSuiteName(). The issue is that the first parameter was defined as ObjcId but should be defined as ObjcRetainedId as ObjC_NSUserDefaultsAlloc() provides the value for the parameter.
The preference.lcm file causes a crash on macOS 10.14 when calling
ObjC_NSUserDefaultsInitWithSuiteName()
. The issue is that the first parameter was defined asObjcId
but should be defined asObjcRetainedId
asObjC_NSUserDefaultsAlloc()
provides the value for the parameter.