error: unable to read property list from file: /Users/xxx/Documents/work/xxx/xxx/xxx/Resources/Info.

很简单,但也记录一下吧。

项目编译报如下错误

error: unable to read property list from file: /Users/xxx/Documents/work/xxx/xxx/xxx/Resources/Info.plist: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 1.) (in target 'xxx' from project 'xxx')

根据提示显示是无法读取info.plist文件,顺藤摸瓜,找到info.plist文件,Xcode打不开。

鼠标右击info.plist -> Open As -> Source Code 打开info.plist的html文件,查看里面是否有冲突。

果然是冲突所致

<<<<<<< .mine
	$(MARKETING_VERSION)
||||||| .r12633
	20.07.001
=======
	20.09.-052
>>>>>>> .r12738

修改冲突重新编译即可。

你可能感兴趣的:(#,error,&,warning)