[CocoaPods] Make COpenCombineHelpers part of the OpenCombine pod
CocoaPods doesn't support multiple Swift modules in the same pod. Build COpenCombineHelpers sources together with OpenCombine sources as a single module. Previously COpenCombineHelpers was a separate pod. This was suboptimal, as it made making changes in both targets very hard: you'd have to push COpenCombineHelpers to trunk in order to pass validation.
This commit is contained in:
committed by
Sergej Jaskiewicz
parent
5973f86c6e
commit
a300fd09d3
+4
-2
@@ -20,6 +20,8 @@ Pod::Spec.new do |spec|
|
||||
spec.watchos.deployment_target = "2.0"
|
||||
spec.tvos.deployment_target = "9.0"
|
||||
|
||||
spec.source_files = "Sources/OpenCombine/**/*.swift"
|
||||
spec.dependency "COpenCombineHelpers"
|
||||
spec.source_files = "Sources/COpenCombineHelpers/**/*.{h,cpp}", "Sources/OpenCombine/**/*.swift"
|
||||
spec.public_header_files = "Sources/COpenCombineHelpers/include/*.h"
|
||||
|
||||
spec.libraries = "c++"
|
||||
end
|
||||
Reference in New Issue
Block a user