mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
* align ios version with onnxruntime-mobile-c * support 'file://' in iOS * fix lint error
19 lines
564 B
Ruby
19 lines
564 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, '11.0'
|
|
|
|
target 'OnnxruntimeModuleExample' do
|
|
config = use_native_modules!
|
|
|
|
use_react_native!(:path => config["reactNativePath"])
|
|
|
|
use_frameworks!
|
|
|
|
if File.exist?('../../local_pods/onnxruntime-mobile-c.zip')
|
|
pod 'onnxruntime-mobile-c', :podspec => '../../onnxruntime-mobile-c.podspec'
|
|
end
|
|
pod 'onnxruntime-react-native', :path => '../..'
|
|
|
|
inherit! :search_paths
|
|
end
|