{"id":53581,"date":"2026-10-20T15:24:54","date_gmt":"2026-10-20T19:24:54","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=53581"},"modified":"2026-10-20T15:24:54","modified_gmt":"2026-10-20T19:24:54","slug":"xcode-projects-for-the-command-line-and-coding-agents","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2026\/10\/20\/xcode-projects-for-the-command-line-and-coding-agents\/","title":{"rendered":"Xcode Projects for the Command Line and Coding Agents"},"content":{"rendered":"<p><a href=\"https:\/\/artemnovichkov.com\/blog\/xcode-projects-for-the-command-line-and-coding-agents\">Artem Novichkov<\/a> (via <a href=\"https:\/\/weekly.fatbobman.com\/p\/fatbobmans-swift-weekly-158\">Fatbobman<\/a>):<\/p>\n<blockquote cite=\"https:\/\/artemnovichkov.com\/blog\/xcode-projects-for-the-command-line-and-coding-agents\">\n<p>Xcode also ships two command-line tools for the new format:<\/p>\n<ul>\n<li><code>xcprojformatter<\/code> came with the format in beta 2. It&rsquo;s a formatter for\nproject files, like <code>swift-format<\/code> for code: it checks that a\n<code>project.xcproj<\/code> file is valid and rewrites it with sorted keys and\nconsistent layout.<\/li>\n<li><code>xcodeproj<\/code> arrived in beta 3. It reads and edits projects from the\nterminal: targets, build phases, groups, build settings, xcconfig files,\nand Swift packages.<\/li>\n<\/ul>\n<p>Neither is on your <code>PATH<\/code>, so run them with <code>xcrun<\/code>.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2026\/09\/17\/xcodes-new-xcproj-files-are-json\/\">Xcode&rsquo;s New .xcproj Files Are JSON<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Artem Novichkov (via Fatbobman): Xcode also ships two command-line tools for the new format: xcprojformatter came with the format in beta 2. It&rsquo;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2026-10-20T19:24:58Z","apple_news_api_id":"f442ab8c-2916-41c4-a5b4-9627c28e2117","apple_news_api_modified_at":"2026-10-20T19:24:58Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A9EKrjCkWQcSltJYnwo4hFw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[1351,30,2784,71,226],"class_list":["post-53581","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-artificial-intelligence","tag-mac","tag-macos-27","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/53581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=53581"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/53581\/revisions"}],"predecessor-version":[{"id":53582,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/53581\/revisions\/53582"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=53581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=53581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=53581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}