31 lines
925 B
Ruby
31 lines
925 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "HaptikaPPG"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.homepage = "https://haptika.local"
|
|
s.license = { :type => "Proprietary" }
|
|
s.authors = { "Haptika" => "engineering@haptika.local" }
|
|
s.platforms = { :ios => "16.0" }
|
|
s.source = { :path => "." }
|
|
# Nitro Modules 0.36.1 is not yet clean under Swift 6 strict concurrency.
|
|
s.swift_version = "5.0"
|
|
|
|
s.source_files = [
|
|
"ios/**/*.{swift,m,mm,cpp,h,hpp}",
|
|
"cpp/**/*.{cpp,h,hpp}"
|
|
]
|
|
|
|
load "nitrogen/generated/ios/HaptikaPPG+autolinking.rb"
|
|
add_nitrogen_files(s)
|
|
|
|
s.frameworks = "AVFoundation", "Accelerate", "CoreVideo", "HealthKit"
|
|
s.dependency "VisionCamera"
|
|
s.dependency "React-jsi"
|
|
s.dependency "React-callinvoker"
|
|
install_modules_dependencies(s)
|
|
end
|