- JSON::ParserError - 767: unexpec
- JSON::ParserError - 416: unexpec
- Pod Search 出现 JSON ParserError 错
- pod install-- JSON::ParserError
- pod search 出现 JSON ParserError 错
- Pod Search 出现 JSON ParserError 错
- Base64解决json特殊字符parsererror问题
- vivo手机出现Uncaught SyntaxError: Un
- Jquery ajax parsererror
- pandas读取csv文件时报错:ParserError: Er
很久没有更新Cocoapods了,最近更新出现了下诉问题
Updating local specs repositories
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
Analyzing dependencies
...
...
### Error
...
JSON::ParserError - 767: unexpected token at ''
......

解决办法:
1.pod repo list 查看一下源列表,检测是否有2 repos
pod repo list

2.移除trunk源
pod repo remove trunk

3.修改Podfile,添加
source 'https://github.com/CocoaPods/Specs.git'

4.重新更新
Pod update

网友评论