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。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容