Skip to content

Commit

Permalink
Add Cocoapods support
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBiehl authored and iRoachie committed Jan 7, 2018
1 parent e38557b commit c2499e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ios/ReactNativeSearchBar.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
s.name = "ReactNativeSearchBar"
s.version = package["version"]
s.source_files = "**/*.{h,m}"
s.platform = :ios, "8.0"
s.authors = { "umhan" => "" }
s.license = package["license"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.source = { :git => package["repository"]["url"] }
s.requires_arc = true
s.preserve_paths= "package.json", "LICENSE"
s.dependency 'React'
end

0 comments on commit c2499e8

Please sign in to comment.