Skip to content

Instantly share code, notes, and snippets.

@chaitanya-bhagavan
Created December 20, 2017 16:46
Show Gist options
  • Save chaitanya-bhagavan/bcafe5fd493e6f4b7371d059f9e6cdde to your computer and use it in GitHub Desktop.
Save chaitanya-bhagavan/bcafe5fd493e6f4b7371d059f9e6cdde to your computer and use it in GitHub Desktop.
require 'json'
package = JSON.parse(File.read(File.join('node_modules/react-native-navigation', 'package.json')))
Pod::Spec.new do |s|
s.name = "ReactNativeNavigation"
s.version = package['version']
s.summary = package['description']
s.authors = "Wix.com"
s.homepage = package['homepage']
s.license = package['license']
s.platform = :ios, "9.0"
s.module_name = 'ReactNativeNavigation'
s.source = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "v#{s.version}" }
s.source_files = "node_modules/react-native-navigation/ios/**/*.{h,m}"
s.exclude_files = "node_modules/react-native-navigation/ios/ReactNativeNavigationTests/**/*.*"
s.dependency 'React'
s.frameworks = 'UIKit'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment