Hey everyone,
I'm starting a new iOS project and I'm trying to decide between using Swift Package Manager (SPM) or CocoaPods for dependency management. Both have their pros and cons, and I'm keen to hear from others who have experience with both.
I know SPM is now integrated directly into Xcode and is the native solution from Apple. It seems simpler for smaller projects and directly leverages Swift's ecosystem. On the other hand, CocoaPods has been around longer and has a vast repository of libraries. I'm also a bit concerned about the build times and complexity that can sometimes arise with CocoaPods.
What are your thoughts? When would you choose SPM over CocoaPods, and vice-versa?
Looking forward to your insights!