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保持源代码一样 –