Hey everyone,
I'm facing a common challenge in our rapidly growing iOS project: managing external dependencies. We've been using a mix of CocoaPods and direct Git submodule links, but it's becoming a nightmare. Version conflicts are frequent, updates are painful, and onboarding new developers takes forever because of the complex setup.
We're considering migrating to Swift Package Manager (SPM) for all our dependencies. Has anyone successfully made this transition for a large project? What were the biggest hurdles? Any strategies for handling dependencies that are not yet SPM-compatible?
I'm particularly interested in best practices for:
- Structuring SPM dependencies.
- Resolving transitive dependency conflicts.
- Integrating private dependencies.
- Automating dependency updates and checks.
Looking forward to hearing your experiences and advice!