Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feixue299/40c2303c7e145c910165f60d78b0fca4 to your computer and use it in GitHub Desktop.
Save feixue299/40c2303c7e145c910165f60d78b0fca4 to your computer and use it in GitHub Desktop.
一:获取本地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
or
xcodebuild -resolvePackageDependencies -scmProvider system
速度起飞~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment