$ nim objc -r v1_manual.nim
Hint: used config file '/Users/matt/lib/Nim/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: v1_manual [Processing]
CC: v1_manual
CC: stdlib_system
Error: execution of an external compiler program 'clang -c -w -I/Users/matt/lib/Nim/lib -o /Users/matt/.cache/nim/v1_manual_d/v1_manual.m.o /Users/matt/.cache/nim/v1_manual_d/v1_manual.m' failed with exit code: 1
/Users/matt/.cache/nim/v1_manual_d/v1_manual.m:26:20: error: cannot find interface declaration for 'Object', superclass of 'Greeter'
@interface Greeter:Object
~~~~~~~~~~~~~~~~~~ ^
1 error generated.
$ nim objc -r v2_fixedformacos.nim
Hint: used config file '/Users/matt/lib/Nim/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: v2_fixedformacos [Processing]
CC: v2_fixedformacos
CC: stdlib_system
Hint: [Link]
Hint: operation successful (12366 lines compiled; 0.659 sec total; 16.367MiB peakmem; Debug Build) [SuccessX]
Hint: /private/tmp/usingobjc/v2_fixedformacos [Exec]
Hello, World!
$ nim objc -r v3_splitobjc.nim
Hint: used config file '/Users/matt/lib/Nim/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: v3_splitobjc [Processing]
CC: guts
CC: v3_splitobjc
CC: stdlib_system
Error: execution of an external compiler program 'clang -c -w -I/Users/matt/lib/Nim/lib -o /Users/matt/.cache/nim/v3_splitobjc_d/v3_splitobjc.m.o /Users/matt/.cache/nim/v3_splitobjc_d/v3_splitobjc.m' failed with exit code: 1
/Users/matt/.cache/nim/v3_splitobjc_d/v3_splitobjc.m:109:32: error: use of undeclared identifier 'Greeter'; did you mean 'kNeuter'?
g_BZv9cU0hhtS3bt9bM3OBgSaQ = [Greeter new];
^~~~~~~
kNeuter
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h:149:3: note: 'kNeuter' declared here
kNeuter = 0,
^
1 error generated.