-
Notifications
You must be signed in to change notification settings - Fork 10
CocoaPods
Ashley Barrett edited this page Jan 23, 2017
·
16 revisions
CocoaPods is a dependency manager for Cocoa projects.
- You can install CocoaPods with the following command:
$ gem install cocoapods
- Add judo to your
Podfile
to integrate it into your Xcode project:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'JudoKit', '~> 6.2'
- Then run the following command:
$ pod install
-
Please make sure to always use the newly generated
.xcworkspace
file not not the projects.xcodeproj
file. -
In your Xcode environment, go to your
Project Navigator
(blue project icon) calledPods
, select theJudoKit
target and open the tab calledBuild Phases
. -
Add a new
Run Script Phase
and drag it above theCompile Sources
build phase. -
In the shell script, paste the following line:
sh "${PODS_ROOT}/DeviceDNA/Framework/strip-frameworks-cocoapods.sh"