最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】Project JianDao.xcodeproj cannot be opened because the project file cannot be parsed

Xcode crifan 2849浏览 0评论

在用git去更新:

pwd 
git status
git stash
git pull
git stash pop

后,再去打开xxx.xcodeproj ,结果出错:

Project /Users/minglong/Desktop/swift_jiandao/iOS-Client/JianDao/JianDao.xcodeproj cannot be opened because the project file cannot be parsed.

Project xcodeproj cannot be opened because the project file cannot be parsed.

Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed. – 彳亍de孑孓–Learning,Coding,Gaming… – 博客频道 – CSDN.NET

Xcode 工程文件打开不出来, cannot be opened because the proje_crazy_stone_新浪博客

iphone – Unable to open project… cannot be opened because the project file cannot be parsed – Stack Overflow

IOS关于SVN冲突问题xcodeproj cannot be opened because the project file cannot be parsed. – 简书

【总结】

右击你的项目文件xxx.xcodeproj,显示包内容,然后即可看到:

project.pbxproj

用文本编辑器之类的打开该文件

可以看到:

类似于

>>>>>>

updated upstream

xxx

======

saved changes

yyy

根据你的情况,保留xxx或yyy,然后删除掉其他几行,保存,退出。

重新打开xxx.xcodeproj,即可打开Xcode了。

转载请注明:在路上 » 【已解决】Project JianDao.xcodeproj cannot be opened because the project file cannot be parsed

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.175 seconds, using 22.09MB memory