Skip to content

Commit

Permalink
Add podspec file for Cocoapods-based installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mars-lan committed Feb 19, 2018
1 parent d99b8cb commit 3657611
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions react-native-smart-splash-screen.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 = 'react-native-smart-splash-screen'
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['homepage']
s.source = { :git => 'https://github.com/react-native-component/react-native-smart-splash-screen', :tag => s.version }

s.requires_arc = true
s.platform = :ios, '8.0'

s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js'
s.source_files = 'ios/**/*.{h,m}'

s.dependency 'React'
end

0 comments on commit 3657611

Please sign in to comment.