onnxruntime/js/react_native/e2e/ios/Podfile

23 lines
743 B
Text
Raw Normal View History

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.4'
target 'OnnxruntimeModuleExample' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
use_frameworks!
# Mobile build:
# if File.exist?('../../local_pods/onnxruntime-mobile-c.zip')
# pod 'onnxruntime-mobile-c', :podspec => '../../onnxruntime-mobile-c.podspec'
if File.exist?('../../local_pods/onnxruntime-c.zip')
pod 'onnxruntime-c', :podspec => '../../onnxruntime-c.podspec'
end
pod 'onnxruntime-react-native', :path => '../node_modules/onnxruntime-react-native'
inherit! :search_paths
end