In File: SampleApplicationSession.mm: // Initialise QCAR // (Performed on a background thread) - (void)initQCARInBackground { // Background thread must have its own autorelease pool @autoreleasepool { QCAR::setInitParameters(mQCARInitFlags,"8fa9bca36a3c4c199d0c602dcf9fd6e2");