0
我有一個私有規範,並且在私有規範中有一個測試規範文件(testspec.podspec,tag = 0.2.0)規範。cocoapod`[!]無法使用私有規範找到'xxxx〜> xx'`的規範
當我使用pod search testspec.podspec
,我可以得到它:
-> testspec (0.2.0) test spec pod 'testspec', '~> 0.2.0' - Homepage: https://github.com/wangweijia/cocoapods_test.git - Source: https://github.com/wangweijia/cocoapods_test.git - Versions: 0.2.0 [repo_test repo]
但是當我pod install
與我的項目:
podfile:pod 'testspec', '~> 0.2.0'
它說:[!] Unable to find a specification for 'testspec.podspec~>0.2.0'
幫我!!!
首頁和源在你podspec相同。嘗試主頁https://github.com/wangweijia nad保持源代碼一樣 –