cocoapods 提示 無法新增與URL源

2021-07-22 23:52:03 字數 636 閱讀 7962

我想在我的專案來更新我的第三方庫(執行pod install),但收到以下錯誤顯示。

update all pods

analyzing dependencies

git: error: unable to find utility "git", not a developer tool or in path

git: error: unable to find utility "git", not a developer tool or in path

creating shallow clone of spec repo `master-1` from `

[!] unable to add a source with url ` named `master-1`.

you can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.

解決:

它看起來像xcode的路徑設定錯了,載入了xcode的喜好,並確保命令列工具選項設定為你想要什麼

CocoaPods為多個target新增依賴庫

自從cocoapods公升級到1.0.1之後,各種坑,之前的link with語法不能用了,在網上找了好久也沒找到解決辦法.錯誤如下 invalid podfile file the specification of link with in the podfile is now unsupport...

Ubuntu Qt creator提示無法覆蓋檔案

ubuntu qt creator提示無法覆蓋檔案 home xiaofeng config qtproject qtversion.xml permission denied 開啟qt creator,提示無法覆蓋檔案 home bingfeng config nokia qtversion.xm...

讓自己的倉庫新增cocoapods支援

1.先把自己的原始碼clone下來並先打上tag git tag a version1.0 m first version git push origin tags git tag d 1.2 刪除本地tag git push origin refs tags 1.2 刪除遠端庫tag 複製 2.建...