24 lines
869 B
Ruby
24 lines
869 B
Ruby
require "json"
|
|
|
|
Pod::Spec.new do |s|
|
|
# NPM package specification
|
|
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
|
|
|
|
s.name = "RNGestureHandler"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.homepage = "https://github.com/software-mansion/react-native-gesture-handler"
|
|
s.license = "MIT"
|
|
s.author = { package["author"]["name"] => package["author"]["email"] }
|
|
s.source = { :git => "https://github.com/software-mansion/react-native-gesture-handler", :tag => "#{s.version}" }
|
|
s.source_files = "apple/**/*.{h,m,mm}"
|
|
s.requires_arc = true
|
|
s.platforms = { ios: '11.0', tvos: '11.0', osx: '10.15', visionos: '1.0' }
|
|
|
|
if defined?(install_modules_dependencies()) != nil
|
|
install_modules_dependencies(s);
|
|
else
|
|
s.dependency "React-Core"
|
|
end
|
|
end
|