diff options
author | Muxi Yan <mxyan@google.com> | 2018-11-21 15:31:10 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-11-21 15:31:10 -0800 |
commit | 03c73e92f1dedb1de4bba0269e7c614b47cf8035 (patch) | |
tree | 0f330fb0061a08c3330869bc86ad9fd7f99f9dd6 | |
parent | f62323aea28260d4233487dc84834dd26c48845c (diff) |
Fix test failure due to NSAssert
-rw-r--r-- | src/objective-c/tests/Podfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objective-c/tests/Podfile b/src/objective-c/tests/Podfile index 5df9d4e85b..12112f95e1 100644 --- a/src/objective-c/tests/Podfile +++ b/src/objective-c/tests/Podfile @@ -148,5 +148,14 @@ post_install do |installer| end end end + + # Enable NSAssert on gRPC + if target.name == 'gRPC' || target.name == 'ProtoRPC' || target.name == 'RxLibrary' + target.build_configurations.each do |config| + if config.name != 'Release' + config.build_settings['ENABLE_NS_ASSERTIONS'] = 'YES' + end + end + end end end |