The GHKit framework is a set of extensions and utilities for Mac OS X and iOS.
GHKit assumes that you are using a modern Xcode project building to the DerivedData directory. Confirm your settings via the "File" menu > "Project Settings...". On the "Build" tab within the sheet that opens, click the "Advanced..." button and confirm that your "Build Location" is the "Derived Data Location".
- Add Git submodule to your project:
git submodule add git://github.com/gabriel/gh-kit.git GHKit
- Add cross-project reference by dragging GHKit.xcodeproj to your project
- Open build settings editor for your project
- Add the following Header Search Paths (including the quotes):
- Add Other Linker Flags for
- Open target settings editor for the target you want to link GHKit into
- Add direct dependency on the GHKit aggregate target
- Link against GHKit:
- libGHKit.a on iOS
- GHKit.framework on OS X
- Import the GHKit headers via
- Build the project to verify installation is successful.
- Open Xcode, Preferences and select the Downloads / Documentation tab.
- Select the plus icon (bottom left) and specify: