I moved the GTM Test support files under Lite3/GTMTest to allow for easier integration in new projects. You still need to
- create an Unit test target
- make sure that the Unit test files are associated only with the new target (otherwise you get a link error about having to _main functions then)
- define ALog in the precompiled header file and define -DDEBUG as other OTHER_CFLAGS
- add sqlite3 to the project
#ifdef DEBUG
# define DLog(...) NSLog(__VA_ARGS__)
#else
# define DLog(...) /* */
#endif
#define ALog(...) NSLog(__VA_ARGS__)
Advertisement