Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Adds podspec file for CocoaPods support.
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed Jul 31, 2016
1 parent 45a4d83 commit 8587f4a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions react-native-geocoder.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
require 'json'
package = JSON.parse(File.read("package.json"))

Pod::Spec.new do |s|

s.name = package["name"]
s.version = package["version"]
s.summary = package['description']
s.author = { "devfd" => "[email protected]" }
s.license = package["license"]
s.homepage = package["homepage"]
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/devfd/react-native-geocoder.git", :tag => "v#{s.version}" }
s.source_files = 'ios/RNGeocoder/*.{h,m}'
s.preserve_paths = "**/*.js"
s.dependency 'React'

end

0 comments on commit 8587f4a

Please sign in to comment.