onnxruntime/js/react_native/onnxruntime-react-native.podspec
Sunghoon 6de2a878cb
[js/react_native] Fix a broken manual build (#10012)
* Fix a broken manual build

* Keep the same file structures
2021-12-13 19:02:10 -08:00

22 lines
742 B
Ruby

require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |spec|
spec.static_framework = true
spec.name = "onnxruntime-react-native"
spec.version = package["version"]
spec.summary = package["description"]
spec.homepage = package["homepage"]
spec.license = package["license"]
spec.authors = package["author"]
spec.platforms = { :ios => "13.0" }
spec.source = { :git => "https://github.com/Microsoft/onnxruntime.git", :tag => "rel-#{spec.version}" }
spec.source_files = "ios/*.{h,mm}"
spec.dependency "React-Core"
spec.dependency "onnxruntime-mobile-c"
end