Last Updated: January 03, 2017
·
1.864K
· _jeffreyjackson

ShinobiControls w/ Cocoapods

ShinobiControls provide really awesome grid and chart controls for iOS. For example, the ShinobiCharts framework is backed by OpenGLES which makes user interaction a true pleasure.

After you buy ShinobiControls, you have to revisit the website from time to time to find out if there are updates to the frameworks. After you download the new frameworks you'll have to go through each of your projects and update manually. Wouldn't it be cool if you could just use cocoapods to maintain your ShinobiControl purchases?

This is a pretty straight forward post. Essentially, what I've done here is create a private repository for each of the frameworks and all of the podspecs to my private /Specs repo. Just unzip each .dmg and copy the contents to it's appropriate repository.

These podspecs are for the fully paid licensed versions. If you are using the trial versions, you will want to add the Security framework to the s.frameworks.

Here are the podspecs:

ShinobiCharts

Pod::Spec.new do |s|
  s.name         = "ShinobiCharts"
  s.version      = "2.5.7"
  s.summary      = "ShinobiCharts"
  s.license      = 'Private'
  s.homepage     = "http://www.shinobicontrols.com"
  s.author       = { "Jeffrey Jackson" => "jj@autolean.com" }
  s.source       = { :git => "https://github.com/AutoLean/ShinobiCharts.git", :tag => "2.5.7" }
  s.vendored_frameworks = 'ShinobiCharts.framework'
  s.frameworks = 'QuartzCore', 'OpenGLES', 'CoreText'
  s.library = 'c++'
end

ShinobiEssentials

Pod::Spec.new do |s|
  s.name         = "ShinobiEssentials"
  s.version      = "2.5.1"
  s.summary      = "ShinobiEssentials"
  s.license      = 'Private'
  s.homepage     = "http://www.shinobicontrols.com"
  s.author       = { "Jeffrey Jackson" => "jj@autolean.com" }
  s.source       = { :git => "https://github.com/AutoLean/ShinobiEssentials.git", :tag => "2.5.1" }
  s.vendored_frameworks = 'ShinobiEssentials.framework'
  s.framework = 'QuartzCore'
end

ShinobiGauges

Pod::Spec.new do |s|
  s.name         = "ShinobiGauges"
  s.version      = "2.5.0"
  s.summary      = "ShinobiGauges"
  s.license      = 'Private'
  s.homepage     = "http://www.shinobicontrols.com"
  s.author       = { "Jeffrey Jackson" => "jj@autolean.com" }
  s.source       = { :git => "https://github.com/AutoLean/ShinobiGauges.git", :tag => "2.5.0" }
  s.vendored_frameworks = 'ShinobiGauges.framework'
  s.framework = 'CoreGraphics'
end

ShinobiGrids

Pod::Spec.new do |s|
  s.name         = "ShinobiGrids"
  s.version      = "2.5.3"
  s.summary      = "ShinobiGrids"
  s.license      = 'Private'
  s.homepage     = "http://www.shinobicontrols.com"
  s.author       = { "Jeffrey Jackson" => "jj@autolean.com" }
  s.source       = { :git => "https://github.com/AutoLean/ShinobiGrids.git", :tag => "2.5.3" }
  s.vendored_frameworks = 'ShinobiGrids.framework'
  s.framework = 'QuartzCore'
end

2 Responses
Add your response

This is great Jeffrey! Do you think there would be any interest in ShinobiControls hosting a private pod repo so that the above becomes unnecessary? I'm not sure how possible such a thing would be, but this post suggests someone has had success providing access to a private pod repo using SSH/HTTPS - http://www.cocoanetics.com/2013/04/private-pods/.

over 1 year ago ·

Hi Jeffrey,
I really need your help with shinobi charts along with cocoapods.
Let me know if you can. Reply: ishwant08@gmail.com

over 1 year ago ·