Invalid string representation for a specification: `XXX`. The string representation should includ...

报错信息:

Invalid string representation for a specification: `XXX`. The string representation should include the name and optionally the version of the Pod.

出现场景:分支合并时三方库版本冲突(cocoapods pod install)

出现原因:三方库主库引用时设置了版本最低版本要求

解决方法:找到项目“Podfile.lock”文件,删除 “XXX”,重新pod install。

你可能感兴趣的:(Invalid string representation for a specification: `XXX`. The string representation should includ...)