onnxruntime/js/react_native/ios/Podfile
Yulong Wang 186ba6e9f2
[js/rn] upgrade package react-native@^0.69.1 (#12155)
* [js/rn] upgrade package react-native@^0.69.1

* upgrade compile sdk to v31

* update ios version requirement

* update pod path for onnxruntime-react-native
2022-07-27 15:15:45 -07:00

29 lines
681 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, '12.4'
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!
if File.exist?('../local_pods/onnxruntime-mobile-c.zip')
pod 'onnxruntime-mobile-c', :podspec => '../onnxruntime-mobile-c.podspec'
else
pod 'onnxruntime-mobile-c'
end
inherit! :search_paths
end
target 'OnnxruntimeModule' do
shared
end
target 'OnnxruntimeModuleTest' do
shared
end