Pod::Spec.new do |s|
  s.name         = "NKPinterestActivity"
  s.version      = "1.0.0"
  s.summary      = "NKPinterestActivity is a UIActivity subclass for sharing content to Pinterest, using the Pinterest iOS SDK"
  s.homepage     = "https://github.com/neilkimmett/NKPinterestActivity"
  s.screenshots  = "https://raw.githubusercontent.com/neilkimmett/NKPinterestActivity/master/Screenshots/screenshot1.jpg", "https://raw.githubusercontent.com/neilkimmett/NKPinterestActivity/master/Screenshots/screenshot2.jpg"
  s.license      = "MIT"
  s.author       = { "Neil Kimmett" => "neil@kimmett.me" }
  s.social_media_url   = "http://twitter.com/neilkimmett"
  s.platform     = :ios, "6.0"
  s.source       = { :git => "https://github.com/neilkimmett/NKPinterestActivity.git", :tag => "1.0.0" }
  s.source_files = "NKPinterestActivity/NKPinterestActivity.{h,m}"
  s.resources = "Resources/*.png"
  s.requires_arc = true
  s.dependency "Pinterest-iOS", "~> 2.3"
  s.frameworks   = 'Foundation', 'Pinterest'
end

Pod::Spec.new do |s|
  s.name         = "NKPinterestActivity"
  s.version      = "1.0.0"
  s.summary      = "NKPinterestActivity is a UIActivity subclass for sharing content to Pinterest, using the Pinterest iOS SDK"
  s.homepage     = "https://github.com/neilkimmett/NKPinterestActivity"
  s.screenshots  = "https://raw.githubusercontent.com/neilkimmett/NKPinterestActivity/master/Screenshots/screenshot1.jpg", "https://raw.githubusercontent.com/neilkimmett/NKPinterestActivity/master/Screenshots/screenshot2.jpg"
  s.license      = "MIT"
  s.author       = { "Neil Kimmett" => "neil@kimmett.me" }
  s.social_media_url   = "http://twitter.com/neilkimmett"
  s.platform     = :ios, "6.0"
  s.source       = { :git => "https://github.com/neilkimmett/NKPinterestActivity.git", :tag => "1.0.0" }
  s.source_files  = "NKPinterestActivity/NKPinterestActivity.{h,m}"
  s.resources = "Resources/*.png"
  s.requires_arc = true
  s.dependency "Pinterest-iOS", "~> 2.3"
end

--- 
+++ 
@@ -9,8 +9,9 @@
   s.social_media_url   = "http://twitter.com/neilkimmett"
   s.platform     = :ios, "6.0"
   s.source       = { :git => "https://github.com/neilkimmett/NKPinterestActivity.git", :tag => "1.0.0" }
-  s.source_files  = "NKPinterestActivity/NKPinterestActivity.{h,m}"
+  s.source_files = "NKPinterestActivity/NKPinterestActivity.{h,m}"
   s.resources = "Resources/*.png"
   s.requires_arc = true
   s.dependency "Pinterest-iOS", "~> 2.3"
+  s.frameworks   = 'Foundation', 'Pinterest'
 end
Add Pinterest framework to podspec
