-
See here for instructions to install Carthage: https://github.com/Carthage/Carthage
-
Create a Cartfile in the same directory where your .xcodeproj or .xcworkspace is
-
List the desired dependencies in the Cartfile, for example:
github "flurry/FlurryCarthage" ~> 12.0.0
- Run
carthage update --use-xcframeworks
A Cartfile.resolved file and a Carthage directory will appear in the same directory where your .xcodeproj or .xcworkspace is
-
Drag the built .xcframework bundles from Carthage/Build into the "Frameworks and Libraries" section of your application’s Xcode project. Note FlurryMessaging and Config require Analytics.
-
Add the SystemConfiguration framework to the app.
-
If you are using Carthage for an application, select "Embed & Sign", otherwise "Do Not Embed".