mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: Cocoapods appears to have a different idea of the dependency graph to SPM which has led to a handful of build failures (e.g. https://github.com/apple/swift-nio/issues/2073). This appears to have originated when we dropped the explicit dependency on `CNIOAtomics` from `NIO` (https://github.com/apple/swift-nio/pull/1719). We can work around this by listing all transitive dependencies as requirements in the generated podspecs. Modifications: - Add a script to list transitive dependencies for a given module. - Fix a bug in build_podspecs.sh which did a `pod repo update` even if the pods were not being uploaded. - Update build_podspecs.sh to use transitive dependencies. - Use Python3 in 'dev/stackdiff-dtrace.py' and update soundness.sh Result: Podspecs should include all transitive dependencies.