Carthage is fantastic for package management, and 90% of the time, I only need to execute carthage update but once in a while, I need to do something more specific, so here are all those commands I can never seem to remember.
Go to Build Phases. Click the "+" icon and choose Run Script. Create a Run Script and paste.
Use Case #1 bootstrap
If I'm working with another team and evaluating their work, I won't use an update. I will use bootstrap instead. It ensures that I'm using the same dependencies that the other team is using.
carthage bootstrap --platform ios
Use Case 2 update
I use this command all the time. Which says to update the app with the latest dependencies and create .framework builds for the iOS platform. Warning, this requires a lot of time.