[objc] Remove pre install header search path patch in core test (#27741)

pull/27750/head
Denny C. Dai 3 years ago committed by GitHub
parent 643bb42f06
commit d4f9dbefba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/objective-c/tests/CoreTests/Podfile

@ -14,18 +14,6 @@ target 'CoreTests' do
grpc_deps
end
pre_install do |installer|
grpc_core_spec = installer.pod_targets.find{|t| t.name.start_with?('gRPC-Core')}.root_spec
src_root = "$(PODS_ROOT)/../#{GRPC_LOCAL_SRC}"
grpc_core_spec.pod_target_xcconfig = {
'GRPC_SRC_ROOT' => src_root,
'HEADER_SEARCH_PATHS' => '"$(inherited)" "$(GRPC_SRC_ROOT)/include"',
'USER_HEADER_SEARCH_PATHS' => '"$(GRPC_SRC_ROOT)"',
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
}
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "CoreTests"

Loading…
Cancel
Save