无法在 Xcode 中打开项目
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/38781954/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:07:10 来源:igfitidea点击:
Can't open Project in Xcode
提问by Jisoo Kwon


project.xcodeproj shows red color, how to resolve this issue
project.xcodeproj 显示红色,如何解决此问题


回答by iSashok
I think you have the merge conflicts in .xcodeprojectfile.
我认为您在.xcodeproject文件中有合并冲突。
- Click on right mouse button on file
- Show package contents
- Open
project.pbxprojfile in the text editor and find all places with merge comments as @Erik Godardcommented (search for ===== to identify the conflicts) - Remove them
- Restart Xcode with your project
- 在文件上单击鼠标右键
- 显示包裹内容
project.pbxproj在文本编辑器中打开文件,找到@Erik Godard评论的所有带有合并注释的地方(搜索 ===== 以识别冲突)- 删除它们
- 使用您的项目重新启动 Xcode

