First install Brew,brew is a package management tool, with it we can be very convenient to install Xctool, brew installation commands such as the following:
CURL-LSSF http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz-c/usr/local--strip 1
Below we will install Xctool via brew:
sudo brew updatesudo brew install xctool (前面加sudo是为了防止没有权限)
Get
At this point, execute the xctool command:
Error:missing the Required-scheme argument.
Indicates a successful installation of Xctool.
Execute Xctool (Demo sample):
1. Terminal uses the CP command to enter the project folder
2. Run on Terminal bash: Xctool-scheme testoclintnew archive (corresponding Xcode archive) or
Xctool-scheme testoclintnew Build (corresponding Xcode build)
If your project uses workspace, the format is as follows: Xctool-workspace testoclintworkspace-scheme testoclintnew Build
(The command above is only the main executable command.) Configuration of workspace information (if any) and target information (required)
Copyright notice: This article Bo Master original article, if need to reprint, please send e-mail to [email protected].
Mac is installed Xctool and simple to perform xctool packaging