Skip to content

Commit

Permalink
Added podspec (lyubo#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbaudin authored and lyubo committed Sep 20, 2019
1 parent c60f874 commit 0009365
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions react-native-sodium.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/lyubo/react-native-sodium.git", :tag => "v#{s.version}" }
s.source_files = ["ios/**/*.{h,m}","libsodium/libsodium-ios/**/*.{h,m}"]

s.vendored_libraries = 'libsodium/libsodium-ios/lib/libsodium.a'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/Headers/Public/#{s.name}/**'}

s.dependency 'React'
end

0 comments on commit 0009365

Please sign in to comment.