Skip to content
Roberto Colnaghi Jr edited this page Oct 24, 2013 · 2 revisions

Q: After linking the library with the application, I don't see any logs related to Hierarchy Detective in the console and the device does not show up in the list of available servers.

Add the -ObjC linker flag under Build Settings in XCode

Q: I see linker errors.

The Hierarchy Detective static library uses some system frameworks your application may not already use. If this is the case, you will need to add the following to your application XCode project. Build Phases - Link Binary with Libraries - Add Security.framework, CFNetwork.framework and QuartzCore.framework.

Q: I see linker errors / crashes when using the Cocos2D viewer.

If your application is using Cocos2D, it may be using a version that I have not tested with. Since Cocos2D is an Open Source project, it is difficult to take into account all the modifications one can make to it. The library is pretty good at making sure it works with both versions 1 and 2 but there are always edge cases. At this point you can file an issue or check out the library and see if you offer a fix. The CCNode+HDHelpers.h|m files are where the action is at.

Clone this wiki locally