如何在 Xcode 中恢复应用程序 info.plist 的格式?
我复制了默认构建目标。 一些代码文件也被重复。 问题是,重复的 info.plist 文件未由 Xcode 格式化。
我认为这不正常。有什么解决办法吗? 或者有什么方法可以指定 plist 的格式吗? (可以通过我的自定义格式规则格式化其他类型的 .plist)
I duplicated default build target.
Some code files are duplicated also.
Problem is, duplicated info.plist file is not formatted by Xcode.
I don't think this is normal. Any workaround?
Or any way to specify formatting of plist? (which may format other type of .plist by my custom formatting rules)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
重新启动 Xcode 应该可以解决该问题。
Restarting Xcode should fix the problem.
根据上下文(右键或 Control-)单击两个文件并选择“打开为”-> “源文件”选项以文本形式查看它们。然后,您可以(直观地)比较它们以确定发生了什么变化(并修复它)。
Contextually (right- or control-) click both files and select the "Open as" -> "source file" option to view them as text. You can then (visually) diff them to determine what changed (and fix it).