tripleCC / cocoapods-bin

CocoaPods 组件二进制化辅助插件(双私有源)
MIT License
304 stars 54 forks source link

组件pod bin archive找不到私有源 #31

Closed LoveLifeLoveSelf closed 4 years ago

LoveLifeLoveSelf commented 4 years ago

localhost% pod bin archive XXXNetwork.podspec

[!] Unable to find a specification for AFNetworking (= 3.2.1) depended upon by ZPMNetwork

You have either:

XXXNetWork里面有两个依赖库,来自两个不同私有源,如何设置才能打zip包成功

tripleCC commented 4 years ago

localhost% pod bin archive XXXNetwork.podspec

[!] Unable to find a specification for AFNetworking (= 3.2.1) depended upon by ZPMNetwork

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

XXXNetWork里面有两个依赖库,来自两个不同私有源,如何设置才能打zip包成功

尝试过 --sources 么

LoveLifeLoveSelf commented 4 years ago

localhost% pod bin archive XXXNetwork.podspec [!] Unable to find a specification for AFNetworking (= 3.2.1) depended upon by ZPMNetwork You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

XXXNetWork里面有两个依赖库,来自两个不同私有源,如何设置才能打zip包成功

尝试过 --sources 么

尝试了下,通过了,谢谢