Technology Radar
Published : Apr 13, 2021
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar.
Understand more
Apr 2021
Trial
许多使用 Xcode 编写 iOS 代码的开发者经常会因为 Xcodeproj 文件总是随着项目配置变化而变化而头痛不已。由于Xcodeproj 文件格式难以阅读,因此合并文件冲突非常复杂,有可能导致生产力下降甚至打乱整个项目,因为这个文件一旦出现错误,Xcode 将无法正常运行,开发工作也很可能被迫中断。因此,我们建议不要手动合并修复 Xcodeproj文件,或是对其进行版本管理,而是 使用工具管理 Xcodeproj : 用 YAML(XcodeGen,Struct),Ruby(Xcake)或是 Swift(Tuist)定义你的Xcode项目配置。这些工具会根据配置文件和项目结构生成 Xcodeproj 文件,因此, Xcodeproj 文件合并冲突将成为历史,相比之下配置文件冲突要容易处理得多。