The GHKit framework is a set of extensions and utilities for iOS.
- Add
pod 'GHKitYelpFork', '~> version'to your Podfile - Run
pod install - Import the GHKit headers via
#import <GHKit/GHKit.h> - Build the project to verify installation is successful.
-
Add
github "Yelp/gh-kit" ~> versionto your Cartfile -
Run
carthage update -
On your application targets’ General settings tab, in the “Linked Frameworks and Libraries” section, drag and drop
GHKit.frameworkfrom the [Carthage/Build][] folder on disk. -
On your application targets’ Build Phases settings tab, click the + icon and choose New Run Script Phase. Create a Run Script in which you specify your shell (ex:
/bin/sh), add the following contents to the script area below the shell:/usr/local/bin/carthage copy-frameworks
-
Add the path to the framework under “Input Files":
$(SRCROOT)/Carthage/Build/iOS/GHKit.framework -
Add the path to the copied framework to the “Output Files”:
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/GHKit.framework
- Open Xcode, Preferences and select the Downloads / Documentation tab.
- Select the plus icon (bottom left) and specify:
http://gabriel.github.com/gh-kit/publish/me.rel.GHKit.atom