Unable to find a specification in CocoaPods

后端 未结 17 2536
醉酒成梦
醉酒成梦 2020-12-07 15:31

I cannot understand why the Cocoapod is unable to find the pod specification I created when I run pod install. Could someone help me solve this trouble?

17条回答
  •  孤城傲影
    2020-12-07 16:04

    I resolve this after add

    source '/Users/username/Documents/path/to/iOS_SpecsRepository'
    source 'https://github.com/CocoaPods/Specs.git'
    

    to Podfile. well .I used a local repository as my Repo. So i can user this in another podspec file

    s.dependency 'iOS_Networking_CPN', '~> 0.1.1'
    

    iOS_Networking_CPN is in the local path.

提交回复
热议问题