When I tried to install CorePlot to my iOS project on xcode via Cocoa Pods, the following massage showed up. Could any of you guys give me any advice to solve this issue? Thanks.
xxxxx-MacBook-Pro:Test1 xxxxx$ pod 'CorePlot', '~> 1.5' # CorePlot
[!] Unknown command: `CorePlot,`
Did you mean: repo
It looks like you're trying to install this pod by running
pod
from the command line. What you need to do is put yourpod
definitions in aPodfile
in the root of your repo. After doing this you need to runpod install
. Check out the using CocoaPods guide for more info:http://guides.cocoapods.org/using/using-cocoapods.html