Skip to content

Commit

Permalink
Add Cocoapods support
Browse files Browse the repository at this point in the history
  • Loading branch information
aschenkel committed Jul 10, 2018
1 parent bf59468 commit aec22cc
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions ios/RNAccountKit.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
require 'json'

package = JSON.parse(File.read('../package.json'))

Pod::Spec.new do |s|
s.name = "react-native-facebook-account-kit"
s.version = "0.0.1"
s.summary = "React Native library for Facebook Account Kit"
s.author = { 'Gonzalo Aguirre' => 'aguirre.gonzalo@gmail.com' }
s.license = 'MIT'
s.homepage = 'https://github.com/underscopeio/react-native-facebook-account-kit'
s.source = { :git => "https://github.com/underscopeio/react-native-facebook-account-kit.git" }
s.platform = :ios, "7.0"
s.name = 'RNAccountKit'
s.version = package['version']
s.summary = package['description']
s.homepage = 'https://github.com/underscopeio/react-native-facebook-account-kit.git'
s.license = package['license']
s.author = package['author']
s.source = { :git => "https://github.com/underscopeio/react-native-facebook-account-kit.git" }
s.platform = :ios, "7.0"
s.source_files = "*.{h,m}"
s.preserve_paths = "*.js"
s.dependency 'React'
s.source_files = "*.{h,m}"
s.preserve_paths = "*.js"
s.dependency 'AccountKit'
end

0 comments on commit aec22cc

Please sign in to comment.