关于theos安装报错的问题,显示要求执行git submodule update --init --recursive 然后再是抱错 error: could not lock config file .git/config: Permission denied fatal: Failed to register url for submodule path 'vendor/include'

直接贴码

Submodule ‘LightMessaging’ (git://github.com/rpetrich/LightMessaging.git) registered for path ‘vendor/include/rocketbootstrap/LightMessaging’
Cloning into ‘/Users/lee/theos/vendor/include/rocketbootstrap/LightMessaging’…
remote: Counting objects: 83, done.
remote: Total 83 (delta 0), reused 0 (delta 0), pack-reused 83
Receiving objects: 100% (83/83), 34.81 KiB | 0 bytes/s, done.
Resolving deltas: 100% (45/45), done.
Submodule path ‘vendor/include/rocketbootstrap/LightMessaging’: checked out ‘496257b11c3e906333797639355db9a43015eb50’
Submodule path ‘vendor/lib’: checked out ‘639633b40f1b3e0b9cedfad7ec1feab2e5432033’
LEEdeMacBook-Pro:~ lee$ export THEOS=/opt/theos
LEEdeMacBook-Pro:~ lee$ cd /Users/lee/Desktop/iOS逆向/MailReProject/mobilemailtestreproject
LEEdeMacBook-Pro:mobilemailtestreproject lee$ make package install
==> Error: The vendor/include and/or vendor/lib directories are missing. Please run git submodule update --init --recursive in your Theos directory. More information: https://github.com/theos/theos/wiki/Installation.
make: *** [before-all] Error 1
LEEdeMacBook-Pro:mobilemailtestreproject lee$ git submodule update --init --recursive
fatal: Not a git repository (or any of the parent directories): .git
LEEdeMacBook-Pro:mobilemailtestreproject lee$ cd /opt/theos
LEEdeMacBook-Pro:theos lee$ git submodule update --init --recursive
error: could not lock config file .git/config: Permission denied
fatal: Failed to register url for submodule path ‘vendor/include’
LEEdeMacBook-Pro:theos lee$


按照书上的步骤尝试多遍还是不行 请大神指点 在新Mac上

解决方法 :https://github.com/theos/theos/issues/229
执行 git config --global url.https://github.com/.insteadOf git://github.com/
然后在安装就没问题了

大哥可以给些建议吗,iOS逆向工程那本书看不太懂,那些命令不知道怎么操作,我该学些什么知识呢?