Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
一:获取本地http/s代理地址端口
二:打开终端工具
1、进入项目目录(根据实际路径)
cd ~/SwiftHub
2、设置git代理
git config --global http.proxy "http://127.0.0.1:1087"
git config --global https.proxy "https://127.0.0.1:1087"
3、打开项目
xcodebuild -resolvePackageDependencies -scmProvider system -list -workspace XXX.xcworkspace
速度起飞~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment