Quickest way to add Carthage in Xcode Project
问题 What is quickest way to add dependencies in Xcode project using Carthage. How to add or edit dependencies later. 回答1: Install Carthage Download Carthage Open terminal Terminal: cd ~/Path/To/Folder Containing Project Create Carthage file as: Terminal: touch Cartfile Open Cartfile file from project folder and add required dependency Example Cartfile file github "Alamofire/Alamofire" == 4.5 github "Alamofire/AlamofireImage" After Editing Cartfile file save it. Run following command from terminal