2021-05-11 17:34:40 +00:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
|
|
2021-06-15 20:36:05 +00:00
|
|
|
platform :ios, '13.0'
|
2021-05-11 17:34:40 +00:00
|
|
|
|
2021-06-15 20:36:05 +00:00
|
|
|
def shared
|
2021-05-11 17:34:40 +00:00
|
|
|
config = use_native_modules!
|
|
|
|
|
|
|
|
|
|
use_react_native!(:path => config["reactNativePath"])
|
2021-06-15 20:36:05 +00:00
|
|
|
|
|
|
|
|
# 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
|
2021-05-11 17:34:40 +00:00
|
|
|
end
|
|
|
|
|
|
2021-06-15 20:36:05 +00:00
|
|
|
target 'OnnxruntimeModule' do
|
|
|
|
|
shared
|
|
|
|
|
end
|
2021-05-11 17:34:40 +00:00
|
|
|
|
2021-06-15 20:36:05 +00:00
|
|
|
target 'OnnxruntimeModuleTest' do
|
|
|
|
|
shared
|
2021-05-11 17:34:40 +00:00
|
|
|
end
|