我想添加到podfile私有git仓库,例如:
pod 'MyLibrary', :git => 'git@github.com:perfect/top-library.git', :branch => 'data/myLab'
Run Code Online (Sandbox Code Playgroud)
但是,当我运行“ pod install”命令时,出现错误:
[!] Error installing MyLibrary
[!] Failed to download 'MyLibrary'.
Run Code Online (Sandbox Code Playgroud)
问题是如何提供从git到cocoapods的凭据?