An example of how to use Koloda with Carthage dependency manager
-
Create a Cartfile
-
Add to the file
github "Yalantis/Koloda"
-
Run in the terminal
carthage update --platform iOS
-
Open project file
-
Open general settings, add
pop
andKoloda
toLinked frameworks and Libraries
(fromCarthage/Build/iOS
directory) -
Go to build phases settings, create a run script phase
-
Add the following script:
/usr/local/bin/carthage copy-frameworks
-
Add the input files:
$(SRCROOT)/Carthage/Build/iOS/pop.framework $(SRCROOT)/Carthage/Build/iOS/Koloda.framework
-
Build the project