想運行https://github.com/gokush/GKCommerce中的代碼,使用pod install --verbose --no-repo-update安裝依賴庫時總是出現提示Unable to find a specification for `xxxxx`的問題,在這里找到了解決方法:
只需要把當前Pod的目錄清理一下就行了。在終端執行以下命令:
pod repo remove master
pod setup
然后又遇到了提示`ImageMagick` required by `Podfile`問題,按照https://github.com/gokush/GKCommerce/issues/2中給出的解決方法,指定版本號6.8.8-9就解決問題了。
最后當然還是要用pod install --verbose --no-repo-update才行,用pod install會出現一直Analyzing dependencies