很简单,但也记录一下吧。
项目编译报如下错误
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
<string>$(MARKETING_VERSION)</string>
||||||| .r12633
<string>20.07.001</string>
=======
<string>20.09.-052</string>
>>>>>>> .r12738
修改冲突重新编译即可。