eiYo

cocoapod错误汇总

2018-10-27  本文已影响206人  厦门第一帅哥

1.   The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.


解决方法:根据提示重新pod install


2. 

CocoaPods could not find compatible versions for pod "ZLCategory":

  In snapshot (Podfile.lock):

    ZLCategory (= 0.1.1)

  In Podfile:

    ZLCategory

None of your spec sources contain a spec satisfying the dependencies: `ZLCategory, ZLCategory (= 0.1.1)`.

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.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default

使用pod update命令

3.

/Users/zhaoliangchen/Desktop/anxin/Pods/Pods/Target Support Files/Pods-anxin/Pods-anxin.debug.xcconfig: unable to open file (in target "anxin" in project "anxin") (in target 'anxin')

解决方法:

选择正确的路径

上一篇 下一篇

猜你喜欢

热点阅读