onnxruntime/js/react_native/ios/Podfile
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

25 lines
577 B
Ruby

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '13.0'
def shared
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'onnxruntime-mobile-c', :podspec => '../onnxruntime-mobile-c.podspec'
inherit! :search_paths
end
target 'OnnxruntimeModule' do
shared
end
target 'OnnxruntimeModuleTest' do
shared
end