pod install时报错Parsing unable to continue due to parsing error:
来源:互联网 发布:淘宝客自推自买违规吗 编辑:程序博客网 时间:2024/05/17 08:06
1、在update小伙伴的代码以后,报错
Parsing unable to continue due to parsing error:
contained in the file located at /Users/.../xx/Podfile.lock (这里是项目工程的Podfile.lock的路径)
详细如下:
pod install[!] ERROR: Parsing unable to continue due to parsing error: contained in the file located at /Users/xx/…/xx/Podfile.lock这时会将Podfile.lock文件内容展示在输出中,根据以上文件路径使用Sublime Text工具打开Podfile.lock文件(这里默认是打不开的),使用Command+F搜索“====”你会看到冲突所在,解决掉冲突保存一下,重新执行
pod install
如果还报错误
Parsing unable to continue due to parsing error:
contained in the file located at /Users/.../Pods/Manifest.lock (这里是项目工程的Manifest.lock的路径)
解决办法如上,这样就能成功的运行了
2、在这里顺便说一下Podfile.lock和Manifest.lock文件
Podfile.lock
这是CocoaPods创建的最重要的文件之一。它记录了需要被安装的pod的每个已安装的版本。如果你想知道已安装的pod是哪个版本,可以查看这个文件。推荐将Podfile.lock文件加入到版本控制中,这有助于整个团队的一致性。
Manifest.lock
这是每次运行pod install时创建的Podfile.lock文件的副本。如果你见过“沙盒文件和Podfile.lock文件不同步”的错误,这个错误就是因Manifest.lock文件和Podfile.lock文件不一样引起。由于Pods所在的目录并不总在版本控制之下,这样可以保证开发者运行app之前都能更新他们的pods,否则app可能会crash,或者在一些不太明显的地方编译失败
xcproj
如果您已经依照我们的建议在系统上安装了xcproj,它会将您的Pods.xcodeproj文件转换成就旧有ASCII格式的plist文件。为什么要这么做呢?因为Xcode所依赖和使用的plist在很久以前就已经不被其他软件支持了。如果没有xcproj,你的Pods.xcodeproj文件将会以XML格式的plist文件存储,当你用Xcode打开它时,它会被改写,造成大量的文件冲突。
- pod install时报错Parsing unable to continue due to parsing error:
- cocoapods 0.35.0 版本 报错 Parsing unable to continue due to parsing error:
- Jira plugin cannot startup due to "Error parsing class file"
- 打开MFC ClassWizard 时报错“Parsing error”
- debug时报Unable to install breakpoint in XX due to missing line number attributes
- HTML Parsing Error: Unable to modify the parent container element before the child element is closed
- HTML Parsing Error:Unable to modify the parent container element before the child element is closed
- HTML Parsing Error: Unable to modify the parent container element before the child element is closed
- Maven工程在debug时报Unable to install breakpoint in XX due to missing line number attributes
- IE 8 HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
- IE 8 HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
- IE 8 HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
- HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
- IE 8 HTML Parsing Error:Unable to modify the parent container element before the child element is cl
- IE 8 HTML Parsing Error:Unable to modify the parent container element before the child element is cl
- IE 8 HTML Parsing Error: Unable to modify the parent container element before the child element is c
- IE8 中"HTML Parsing Error:Unable to modify the parent container element before the child element is c
- badboy进行录制时,提示错误HTML Parsing Error: Unable to modify the parent container element before the child e
- ORBSlam2的位姿优化算法
- 串口接收数据c#
- python: random模块
- wifi连接wpa_supplicant和wpa_cli的使用实例
- 通过MFC对SQLite进行操作
- pod install时报错Parsing unable to continue due to parsing error:
- 重装系统笔记
- JPA ID生成策略
- 04-指令ng-model
- 1060. Are They Equal (25)
- hibernate的Session类的方法
- TCP-IP学习笔记(六)——IP:网际协议1
- 服务器Tomcat运行Java项目 80 433 端口被占用 解决方案
- Android开发之玩转FlexboxLayout布局