楼主开发实录
需要先安装HomeBrew,然后使用HomeBrew安装Carthage:
brew install carthage
Carthage的帮助信息:
Available commands:
archive Archives built frameworks into a zip that Carthage can use
bootstrap Check out and build the project's dependencies
build Build the project's dependencies
checkout Check out the project's dependencies
copy-frameworks In a Run Script build phase, copies each framework specified by a SCRIPT_INPUT_FILE and/or SCRIPT_INPUT_FILE_LIST environment variables into the built app bundle
fetch Clones or fetches a Git repository ahead of time
help Display general or command-specific help
outdated Check for compatible updates to the project's dependencies
update Update and rebuild the project's dependencies
validate Validate that the versions in Cartfile.resolved are compatible with the Cartfile requirements
version Display the current version of Carthage