From afedfb110b34c42ac7882014e8b1f85969e90d57 Mon Sep 17 00:00:00 2001 From: "Denny C. Dai" Date: Wed, 1 Jun 2022 21:12:20 -0700 Subject: [PATCH] [gRPC/iOS] tvOS unit test fix and pass defs (#29858) Fixing tvOS unit test build break and passing in interop test server addr via GCC_PREPROCESSOR_DEFINITIONS. Previously this is passed directly via xcodebuild predefines but it is not visible to TestCommon lib --- .../tests/Tests.xcodeproj/project.pbxproj | 3 --- .../xcshareddata/xcschemes/TvTests.xcscheme | 15 --------------- src/objective-c/tests/run_one_test.sh | 14 ++++++-------- 3 files changed, 6 insertions(+), 26 deletions(-) diff --git a/src/objective-c/tests/Tests.xcodeproj/project.pbxproj b/src/objective-c/tests/Tests.xcodeproj/project.pbxproj index b9eec273b5e..4629ea6c16e 100644 --- a/src/objective-c/tests/Tests.xcodeproj/project.pbxproj +++ b/src/objective-c/tests/Tests.xcodeproj/project.pbxproj @@ -1263,9 +1263,6 @@ GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", - "HOST_PORT_LOCALSSL=$(HOST_PORT_LOCALSSL)", - "HOST_PORT_LOCAL=$(HOST_PORT_LOCAL)", - "HOST_PORT_REMOTE=$(HOST_PORT_REMOTE)", "GRPC_TEST_OBJC=1", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; diff --git a/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/TvTests.xcscheme b/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/TvTests.xcscheme index 96a0cbb6be9..eddff505ade 100644 --- a/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/TvTests.xcscheme +++ b/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/TvTests.xcscheme @@ -65,26 +65,11 @@ - - - - - -