Adding DEBUG=1 to XCode foundation project preprocessor macros
Merging
Registering thread with garbage collector in ci::ThreadSetup on Mac