Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add podspec for CocoaPods users #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions RNContactsWrapper.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 = 'RNContactsWrapper'
s.version = package['version']
s.summary = "Contacts plugin to wrap native contact pickers for iOS and Android."
s.license = package['license']
s.homepage = 'https://github.com/LynxITDigital/react-native-contacts-wrapper'
s.authors = 'LynxIT Digital'
s.source = { :git => 'https://github.com/LynxITDigital/react-native-contacts-wrapper', :tag => "v#{s.version}" }
s.source_files = 'ios/**/*.{h,m}'
s.requires_arc = true
s.platforms = { :ios => "8.0" }
s.dependency 'React'
end