Friday, 27 October 2017

How To Install Carthage On Mac

Simple Steps To Install Carthage On Mac

Name: carthage
Use: A simple, decentralized dependency manager for Cocoa 
URL: https://github.com/Carthage/Carthage

Carthage is used to add frameworks to your Cocoa application. The basic workflow is as follows:
  • Create a Cartfile that lists the frameworks you’d like to use in your project.
  • Run Carthage, which fetches and builds each framework you’ve listed.
  • Drag the built .framework binaries into your application’s Xcode project.
Carthage provides you with binary frameworks and builds your dependencies, but you retain full control over your project structure and setup. Carthage does not automatically affect or modify your project files or your build settings.

Follow the steps below to installation Carthage:
  • Open Terminal using Spotlight search by pressing <command+space>. Type terminal and hit Enter key
  • Now execute following command to install homebrew

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install carthage using brew

    brew install carthage


carthage is ready to use now!

0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel