最新消息:20210917 已从crifan.com换到crifan.org

[记录]解决git stash pop后Xcode中Info.plist的冲突:The data couldn’t be read because it isn’t in the correct format

Git crifan 3461浏览 0评论

licrifandeMacBook-Pro:iOS-Client crifan$ git stash pop

Auto-merging JianDao/JianDao/Info.plist

CONFLICT (content): Merge conflict in JianDao/JianDao/Info.plist

Auto-merging JianDao/JianDao/Constants.swift

结果去Xcode中尝试打开info.plist,结果打不开:

The data couldn’t be read because it isn’t in the correct format.

然后想办法去用其他编辑器打开:

右击:

即:

<<<<<<< Updated upstream

    <string>2016.4.21</string>

=======

    <string>2016.4.16</string>

>>>>>>> Stashed changes

改为:

    <string>2016.4.21</string>

即可,然后保存。

再去用Xcode打开,即可打开:

记得,去把之前冲突的文件,标记为:

已解决冲突

Mark xxx as Resolved

转载请注明:在路上 » [记录]解决git stash pop后Xcode中Info.plist的冲突:The data couldn’t be read because it isn’t in the correct format

发表我的评论
取消评论

表情

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

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
100 queries in 0.216 seconds, using 23.35MB memory