I'm using Cocoapods for now but once this project switches to Xcode 11, will probably just switch out to SPM. I'm just using the simplest solution possible for now.
gem install cocoapods
pod install
# ... wait like for a long time
## when that day comes you want to uninstall Coacoapods
gem install cocoapods-deintegrate cocoapods-clean
pod deintegrate
pod clean
rm Podfile
I gave a talk at Mobilization IX showing how we can use the same concepts across Android too. You can take a look at the Android app here.