onnxruntime/js/react_native/onnxruntime-mobile-c.podspec
Sunghoon 887c3149e3
[js/react_native] Use a mobile ORT instead of a full ORT (#8042)
* Change full ort to mobile ort

* Update Android example to load mobile ort

* Change the format of test models to ort

* update ios to use mobile ort

* revise README

* use onnxruntime-mobile-c CocoaPods in a npm package
2021-06-15 13:36:05 -07:00

21 lines
929 B
Ruby

require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |spec|
spec.name = "onnxruntime-mobile-c"
spec.version = package["version"]
spec.summary = "ONNX Runtime C/C++ Package"
spec.description = <<-DESC
ONNX Runtime C/C++ framework pod.
DESC
spec.homepage = "https://github.com/microsoft/onnxruntime"
spec.license = { :type => 'MIT' }
spec.authors = { "ONNX Runtime" => "onnxruntime@microsoft.com" }
spec.platform = :ios, '13.0'
# if you are going to use a file as the spec.source, add 'file:' before your file path
spec.source = { :http => 'file:' + __dir__ + '/local_pods/onnxruntime-mobile-c.zip' }
spec.vendored_frameworks = 'onnxruntime.framework'
spec.source_files = 'onnxruntime.framework/Headers/*.h'
end