onnxruntime/js/react_native/onnxruntime-react-native.podspec
Scott McKay 078ceab1db
Use full ORT package for onnxruntime-react-native. (#13037)
**Description**: 
Use full ORT package for onnxruntime-react-native.

Left the params required for the mobile build in comments so they're
easily discovered if we need to create onnxruntime-react-native-mobile
in the future.

**Motivation and Context**
Remove barrier to using ORT with react native as the mobile package that
was being used supports a limited range of opsets/operators/types, and
requires ORT format models. The full package will run any model.
2022-09-23 07:20:03 +10:00

22 lines
733 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 => "12.4" }
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-c"
end