forked from Ryce/JudoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Carthage
Ashley Barrett edited this page Jun 29, 2016
·
3 revisions
Carthage - decentralized dependency management.
- You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage- To integrate judo into your Xcode project using Carthage, specify it in your
Cartfile:
github "JudoPay/JudoKit" >= 6.2
- Execute the following command in your project folder. This should clone the project and build the judoKit scheme:
$ carthage bootstrap- On your application targets’ 'General' settings tab, in the 'Embedded Binaries' section, drag and drop
JudoKit.frameworkfrom the Carthage/Build folder andJudoShield.frameworkfrom theCarthage/Checkoutsfolder on disk. - On your application targets’ 'Build Phases' settings tab, click the '+' icon and choose 'New Run Script Phase'. Create a Run Script with the following contents:
/usr/local/bin/carthage copy-frameworks- And add the paths to the frameworks you want to use under 'Input Files', e.g.:
$(SRCROOT)/Carthage/Build/iOS/JudoKit.framework
$(SRCROOT)/Carthage/Checkouts/JudoShield/Framework/JudoShield.framework