2021-02-19 08:07:53 -07:00
|
|
|
require "json"
|
|
|
|
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
2021-03-26 09:22:24 -06:00
|
|
|
s.name = "VisionCamera"
|
2021-02-19 08:07:53 -07:00
|
|
|
s.version = package["version"]
|
|
|
|
s.summary = package["description"]
|
|
|
|
s.homepage = package["homepage"]
|
|
|
|
s.license = package["license"]
|
|
|
|
s.authors = package["author"]
|
|
|
|
|
2021-02-19 08:59:39 -07:00
|
|
|
s.platforms = { :ios => "11.0" }
|
2021-03-04 02:45:50 -07:00
|
|
|
s.source = { :git => "https://github.com/cuvent/react-native-vision-camera.git", :tag => "#{s.version}" }
|
2021-02-19 08:07:53 -07:00
|
|
|
|
|
|
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
2021-02-19 08:59:39 -07:00
|
|
|
|
2021-02-19 08:07:53 -07:00
|
|
|
s.dependency "React-Core"
|
|
|
|
end
|