Xcode Projects for the Command Line and Coding Agents

Artem Novichkov (via Fatbobman):

Xcode also ships two command-line tools for the new format:
  • xcprojformatter came with the format in beta 2. It’s a formatter for project files, like swift-format for code: it checks that a project.xcproj file is valid and rewrites it with sorted keys and consistent layout.
  • xcodeproj arrived in beta 3. It reads and edits projects from the terminal: targets, build phases, groups, build settings, xcconfig files, and Swift packages.
Neither is on your PATH, so run them with xcrun.

Previously:

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论