Skip to content

Instantly share code, notes, and snippets.

@rnystrom
Created June 3, 2013 21:58
Show Gist options
  • Save rnystrom/5701825 to your computer and use it in GitHub Desktop.
Save rnystrom/5701825 to your computer and use it in GitHub Desktop.
Attempted to create a podspec for octokit, but just ran into problem after problem. If anyone can take it further please do.
Pod::Spec.new do |s|
s.name = "octokit.objc"
s.version = "1.0.0"
s.summary = "GitHub API client for Objective-C."
s.homepage = "https://github.com/octokit/octokit.objc"
s.license = 'MIT'
s.author = { "Justin Spahr-Summers" => "jspahrsummers@github.com" }
s.source = { :git => "https://github.com/rnystrom/octokit.objc.git", :tag => "1.0.0" }
s.source_files = 'OctoKit/*.{h,m}'
s.ios.deployment_target = "5.0"
s.osx.deployment_target = "10.7"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include $(inherited)"' }
s.preserve_paths = "libOctoKit.a"
s.library = "OctoKit"
s.dependency "AFNetworking"
s.dependency "ISO8601DateFormatter"
s.dependency "Mantle"
s.dependency "OHHTTPStubs"
s.dependency "ReactiveCocoa"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment