aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/Podfile
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-12 17:21:30 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-12 17:21:30 -0800
commit827e84d0a4165e3e64d9ae0a1b8fbbaecdde0fa6 (patch)
tree880121da6f70719597a812d499793259b2a70a1e /src/objective-c/tests/Podfile
parent0f4d465452552cfaf16367241c8894034d1f575a (diff)
Fix unused variable error
Diffstat (limited to 'src/objective-c/tests/Podfile')
-rw-r--r--src/objective-c/tests/Podfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objective-c/tests/Podfile b/src/objective-c/tests/Podfile
index 12112f95e1..8e5f588906 100644
--- a/src/objective-c/tests/Podfile
+++ b/src/objective-c/tests/Podfile
@@ -150,7 +150,9 @@ post_install do |installer|
end
# Enable NSAssert on gRPC
- if target.name == 'gRPC' || target.name == 'ProtoRPC' || target.name == 'RxLibrary'
+ if target.name == 'gRPC' || target.name.start_with?('gRPC.') ||
+ target.name == 'ProtoRPC' || target.name.start_with?('ProtoRPC.') ||
+ target.name == 'RxLibrary' || target.name.start_with?('RxLibrary.')
target.build_configurations.each do |config|
if config.name != 'Release'
config.build_settings['ENABLE_NS_ASSERTIONS'] = 'YES'