I'm loading a Quartz composition from a file through this code:
// quartz is a QCView in the XIB file
QCComposition *qc = [QCComposition compositionWithFile:@"res/wdq.qtz"];
//NSLog(@"input keys %@",[qc inputKeys]);
//NSLog(@"copyright %@",[[qc attributes] valueForKey:QCCompositionAttributeCopyrightKey]);
[quartz loadComposition:qc];
and I get the error:
*** <QCComposition = 0x100258d80 | identifier = "(null)" | source = (null) | backing = "res/wdq.qtz": Failed loading composition
(file exists at location, loading the file from IB works inside IB but not when running the application)
Mac OS X Lion 10.7.3 | XCode 4.2 | Quartz Composer 4.5