`

ios -> xcode 添加 git

    博客分类:
  • IOS
 
阅读更多

 

添加 Command Line Tools 即可 执行 git 命令

 

Xcode -> Open Developer Tools -> More Developer Tools 

添加 Command Line Tools 

 

然后通过  mac 终端 即可 运行 git 命令 

在执行 添加 module 的 命令时 需要 先 进入 xcode 的项目目录 

 

cd Documents/ios_project/test2

 

 

其中 test2 就是 XCODE 项目 文件夹

 

然后 执行 

git init  

 

这时 会在 项目 目录 里创建 .git (隐藏) 文件夹

 

然后就可以执行 添加 module 命令了,如 添加 AES 加密 的  CryptoSwift

 

git submodule add https://github.com/krzyzanowskim/CryptoSwift.git

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics