Mac OS X

Resolve Package Dependencies in NoMAD 2 with carthage

Sometimes when we download an Xcode project, there are dependencies. Those that use swift packages might need to download the package (if it’s publicly available) or have it linked. Projects that use carthage (where the devs probably consider it a little tech debt to move to a new package management system) just need a quick carthage build. To do so, first install carthage, if it isn’t already installed. To do so, we can just use brew:

brew install carthage

Next, let’s cd into the root directory of the project (where below is ~/Documents/NoMAD2 and then run carthage with a bootstrap command:

carthage bootstrap

Subsequent updates might need a new build (again from the root directory of the Xcode project):

carthage build