truebit / xUnique

merge Xcode project file is so easy
https://fclef.wordpress.com
Other
1.5k stars 117 forks source link

你好,我这里终端运行之后出现decode错误 #43

Closed DreamParagon closed 7 years ago

DreamParagon commented 7 years ago

终端运行sudo python -mxUnique XXX.xcodeproj,然后出现以下描述

2017-05-12 12 57 34

问题背景是我这个项目的原因是打不开,原因是

2017-05-12 1 00 25

我对Python不懂,感谢您的帮助

truebit commented 7 years ago

你项目文件本身就有问题还是执行了xunique之后出现的问题?

xcodeproj文件本来就应该是utf8编码的,如果用utf8无法解码,那你的项目文件有问题

Sent from my mobile device.

在 2017年5月12日,13:01,DreamParagon notifications@github.com 写道:

终端运行sudo python -mxUnique XXX.xcodeproj,然后出现以下描述

问题背景是我这个项目的原因是打不开,原因是

我对Python不懂,感谢您的帮助

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

DreamParagon commented 7 years ago

是这样的,我的项目无法打开,如问题中所示,我Google之后,查到疑似冲突,找到您的这个解决方案,安装并运行终端执行xunique之后发现这个问题,因为项目打不开,Google给出的信息有限,所以暂时不清楚项目本身有什么问题

truebit commented 7 years ago

那你用iconv这类的工具对xcodproj里面的project.pbxproj文件转换成utf8试试吧。不过要先知道它本来是什么编码。

Sent from my mobile device.

在 2017年5月13日,13:28,DreamParagon notifications@github.com 写道:

是这样的,我的项目无法打开,如问题中所示,我Google之后,查到疑似冲突,找到您的这个解决方案,安装并运行终端执行xunique之后发现这个问题,因为项目打不开,Google给出的信息有限,所以暂时不清楚项目本身有什么问题

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

DreamParagon commented 7 years ago

好的,感谢您的建议,我从同事那里又拷贝一份正常的项目。。。因为我看pbxproj文件头部确实标注的utf8编码,所以正向您说的,可能项目文件本身哪里出现了问题。。