I use OCMock for tests and want to use NewRelic but my tests don't want to run now. When i uncomment the import for NewRelic in the App-Prefix.pch file, then all tests are fine.
Has anyone the same problem?
Does anyone know how to uncomment it in the pch-file only in testMode?
This don't work in pch-file
#define Tests [[[[NSProcessInfo processInfo] environment][@"XCInjectBundle"] pathExtension] isEqualToString:@"xctest"]