diff --git a/onnxruntime/test/platform/apple/apple_package_test/Podfile.template b/onnxruntime/test/platform/apple/apple_package_test/Podfile.template index f716e71a779f5..44a383ea87cd1 100644 --- a/onnxruntime/test/platform/apple/apple_package_test/Podfile.template +++ b/onnxruntime/test/platform/apple/apple_package_test/Podfile.template @@ -17,7 +17,7 @@ target 'ios_package_test' do end end -unless include_macos_target +if include_macos_target target 'macos_package_test' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks!