IOS bug之cannot be opened because the project file cannot be parsed

刚才用Cornerstone更新代码后,再次打开项目时,不能打开,提示cannot be opened because the project file cannot be parsed后来在网上查了一下是版本冲突的原因

解决方法:

1.对.xcodeproj 文件右键,显示包内容

2.双击打开 project.pbxproj 文件

3.找到以上类似的冲突信息(可以用commad + f 搜索)

4.删除 <<<<<<<,======,>>>>>>这些行

5.保存,退出

6.重新打开.xcodeproj文件即可

时间: 2024-08-01 04:31:39

IOS bug之cannot be opened because the project file cannot be parsed的相关文章

[经验]ios xcode工程文件打不开,显示 xxx..xcodeproj cannot be opened because the project file cannot be parsed.

今天更新svn以后,xcode工程文件就打不开了,显示xxx..xcodeproj  cannot be opened because the project file cannot be parsed. 第一反应肯定是冲突了,但是文件都打不开,也查不了冲突在哪 后来想到了查看内部文件,最终解决. 相信很多人会碰到这个问题,所以发出来供参考 1.双指点击(鼠标党右键点击).xcodeproj,显示包内容 2.双击project.pbxproj文件 3.commad + f 搜索  <<<

SVN Cornerstone 报错信息 xcodeproj cannot be opened because the project file cannot be parsed.

svn点击update 之后,打开xcode工程文件,会出现  xxx..xcodeproj  cannot be opened becausethe project file cannot be parsed. 发现项目中代码全没了.只有一个空的工程名字,因为xcodeproj工程文件冲突了,然后就是svn强制给你更新了,内部的文件冲突了,你们改了同样的地方的一段代码,可能是你们只是多加了一个空格,或者你们都加了代码,或者都是把对方的删了,自己又加的.所有svn不知道你们谁的对,到底听你们谁的

SVN cannot be opened because the project file cannot be parsed.xcode有几种可能错

SVN Cornerstone 报错信息 xcodeproj cannot be opened because the project file cannot be parsed. svn点击update 之后,打开xcode工程文件,会出现  xxx..xcodeproj  cannot be opened becausethe project file cannot be parsed. 发现项目中代码全没了.只有一个空的工程名字,因为xcodeproj工程文件冲突了,然后就是svn强制给你

Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed.

svn更新代码后,打开xcode工程文件,会出现  xxx..xcodeproj  cannot be opened because the project file cannot be parsed. 因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件. 会出现这样的冲突消息: <<<<<<< .mine 9ADAAC6A15DCEF6A0019ACA8 .... in Resources */, ======= 5

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

解决方法: 1.对.xcodeproj文件右键,显示包内容 2.双击打开 project.pbxproj 文件 3.找到以上类似的冲突信息(能够用commad + f搜索) 4.删除<<<<<<<.mine,======,>>>>>>这些行,这个就是冲突的地方,删除就能够打开文件了 5.保存,退出 6.又一次打开.xcodeproj文件就可以

Xcode 工程文件打开不出来, cannot be opened because the project

Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed. svn更新代码后,打开xcode工程文件,会出现  xxx..xcodeproj  cannot be opened because the project file cannot be parsed. 因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件. 会出现这样的冲突消息 <<<<

iOS bug处理

iOS bug处理 JSON解析 1.注意返回数据的类型 2015-07-18 22:55:47.375 中峰天气[4516:146180] -[__NSCFNumber sizeWithAttributes:]: unrecognized selector sent to instance 0xb000000000000063 这是在解析json时,将返回的NSNumber类型的数据赋给了NSString类型的字符串,导致程序崩溃. 注意:在解析json时,有””的才是字符串.没有””的一般为

iOS bug 日志-userInteractionEnabled

今天做一个九宫格密码的项目,设button的selected状态,怎么都不对,后来发现这个属性的作用 [btn setBackgroundImage:[UIImage imageNamed:@"gesture_node_normal"] forState:UIControlStateNormal]; btn.userInteractionEnabled = NO; //设置选中的图片 [btn setBackgroundImage:[UIImage imageNamed:@"

iOS BUG的解决

当iOS程序报这样的错误 ld:261 dulicate symbols for architecture x86_64 clang:error:linker command failed with exit code 1 解决方法: 1.查看自己的库是不是少了 2.就是第三方库有重复的. 我是这样结局了,不知道可适合其他人