From b4a34d3b4303cd276cda0385c49bca3dfa6a5334 Mon Sep 17 00:00:00 2001 From: rachguo Date: Wed, 22 Nov 2023 11:30:00 -0800 Subject: [PATCH] fix pod template --- .../test/platform/apple/apple_package_test/Podfile.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxruntime/test/platform/apple/apple_package_test/Podfile.template b/onnxruntime/test/platform/apple/apple_package_test/Podfile.template index 01fc3294b43cd..f716e71a779f5 100644 --- a/onnxruntime/test/platform/apple/apple_package_test/Podfile.template +++ b/onnxruntime/test/platform/apple/apple_package_test/Podfile.template @@ -1,4 +1,4 @@ -def should_exclude_macos_target +def include_macos_target if '@C_POD_NAME@' != 'onnxruntime-mobile-c' return true end @@ -17,7 +17,7 @@ target 'ios_package_test' do end end -unless should_exclude_macos_target +unless include_macos_target target 'macos_package_test' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks!