aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/Podfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/tests/Podfile')
-rw-r--r--src/objective-c/tests/Podfile22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/objective-c/tests/Podfile b/src/objective-c/tests/Podfile
index 5d2f1340da..8e5f588906 100644
--- a/src/objective-c/tests/Podfile
+++ b/src/objective-c/tests/Podfile
@@ -14,7 +14,10 @@ GRPC_LOCAL_SRC = '../../..'
InteropTestsLocalSSL
InteropTestsLocalCleartext
InteropTestsRemoteWithCronet
+ InteropTestsMultipleChannels
+ InteropTestsCallOptions
UnitTests
+ APIv2Tests
).each do |target_name|
target target_name do
pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf", :inhibit_warnings => true
@@ -30,7 +33,7 @@ GRPC_LOCAL_SRC = '../../..'
pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC, :inhibit_warnings => true
pod 'RemoteTest', :path => "RemoteTestClient", :inhibit_warnings => true
- if target_name == 'InteropTestsRemoteWithCronet'
+ if target_name == 'InteropTestsRemoteWithCronet' or target_name == 'InteropTestsMultipleChannels'
pod 'gRPC-Core/Cronet-Implementation', :path => GRPC_LOCAL_SRC
pod 'CronetFramework', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c"
end
@@ -72,6 +75,12 @@ end
end
end
+target 'ChannelTests' do
+ pod 'gRPC', :path => GRPC_LOCAL_SRC
+ pod 'gRPC-Core', :path => GRPC_LOCAL_SRC
+ pod 'BoringSSL-GRPC', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c", :inhibit_warnings => true
+end
+
# gRPC-Core.podspec needs to be modified to be successfully used for local development. A Podfile's
# pre_install hook lets us do that. The block passed to it runs after the podspecs are downloaded
# and before they are installed in the user project.
@@ -139,5 +148,16 @@ post_install do |installer|
end
end
end
+
+ # Enable NSAssert on gRPC
+ 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'
+ end
+ end
+ end
end
end