XCode
Install Xcode command lines for software compiling.
Installation
- Install Xcode from MAS or https://developer.apple.com/xcode/
Open Xcode and agree with
Xcode and iOS SDK License Agreement
orsudo xcodebuild -license
Install Xcode command line tools:
xcode-select --install
Tip: Scan available Xcode command line tools:
ls /Library/Developer/CommandLineTools/usr/bin
A solution to the slow speed of applications downloading from MAS
- Use http monitor utility(e.g.
Charles
) capture the hostname of download link && download the application.dmg
file. - Change hosts file:
sudo vim /etc/hosts
&& bind localhost entry127.0.0.1
to target link hostname(we got in step 1). - Move application
.dmg
file into a temporary folder && start a http service in the folder: e.g.python -m SimpleHTTPServer 80
,PHP -S localhost:80
- Try downloading application from MAS again.