I think the success and rapid adoption of Swift Package Manager as it has become a viable solution speaks to this deep desire in the community to have an Apple provided solution to it.
CocoaPods was a hugely important part of the iOS ecosystem and will be for years to come, but SPM is a great next step.