build projects
diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec
index f873bc6..b5b8aef 100644
--- a/gRPC-Core.podspec
+++ b/gRPC-Core.podspec
@@ -846,7 +846,15 @@
'src/core/ext/filters/http/client_authority_filter.cc',
'src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc',
'src/core/ext/filters/workarounds/workaround_utils.cc',
- 'src/core/plugin_registry/grpc_plugin_registry.cc'
+ 'src/core/plugin_registry/grpc_plugin_registry.cc',
+ 'src/core/lib/iomgr/cfstream_handle.cc',
+ 'src/core/lib/iomgr/endpoint_cfstream.cc',
+ 'src/core/lib/iomgr/error_cfstream.cc',
+ 'src/core/lib/iomgr/iomgr_posix_cfstream.cc',
+ 'src/core/lib/iomgr/tcp_client_cfstream.cc',
+ 'src/core/lib/iomgr/cfstream_handle.h',
+ 'src/core/lib/iomgr/endpoint_cfstream.h',
+ 'src/core/lib/iomgr/error_cfstream.h'
ss.private_header_files = 'src/core/lib/gpr/alloc.h',
'src/core/lib/gpr/arena.h',
@@ -1148,28 +1156,17 @@
'src/core/ext/filters/message_size/message_size_filter.h',
'src/core/ext/filters/http/client_authority_filter.h',
'src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h',
- 'src/core/ext/filters/workarounds/workaround_utils.h'
- end
-
- s.subspec 'CFStream-Implementation' do |ss|
- ss.header_mappings_dir = '.'
- ss.dependency "#{s.name}/Implementation", version
- ss.pod_target_xcconfig = {
- 'GCC_PREPROCESSOR_DEFINITIONS' => 'GRPC_CFSTREAM=1'
- }
- ss.source_files = 'src/core/lib/iomgr/cfstream_handle.cc',
- 'src/core/lib/iomgr/endpoint_cfstream.cc',
- 'src/core/lib/iomgr/error_cfstream.cc',
- 'src/core/lib/iomgr/iomgr_posix_cfstream.cc',
- 'src/core/lib/iomgr/tcp_client_cfstream.cc',
- 'src/core/lib/iomgr/cfstream_handle.h',
- 'src/core/lib/iomgr/endpoint_cfstream.h',
- 'src/core/lib/iomgr/error_cfstream.h'
- ss.private_header_files = 'src/core/lib/iomgr/cfstream_handle.h',
+ 'src/core/ext/filters/workarounds/workaround_utils.h',
+ 'src/core/lib/iomgr/cfstream_handle.h',
'src/core/lib/iomgr/endpoint_cfstream.h',
'src/core/lib/iomgr/error_cfstream.h'
end
+ # CFStream is now default. Leaving this subspec only for compatibility purpose.
+ s.subspec 'CFStream-Implementation' do |ss|
+ ss.dependency "#{s.name}/Implementation", version
+ end
+
s.subspec 'Cronet-Interface' do |ss|
ss.header_mappings_dir = 'include/grpc'
ss.source_files = 'include/grpc/grpc_cronet.h'