<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh" -->

---
title: Xcode Project Configuration Gets a JSON Format | daily.dev
description: Xcode 27.2 introduces project.xcproj, a JSON-based replacement for the decades-old project.pbxproj build graph inside .xcodeproj bundles. The new format...
canonical: https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Xcode Project Configuration Gets a JSON Format | daily.dev
og:description: Xcode 27.2 introduces project.xcproj, a JSON-based replacement for the decades-old project.pbxproj build graph inside .xcodeproj bundles. The new format...
og:url: https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh
og:image: https://api.daily.dev/og/posts/lwPcV8PDH.png
og:image:alt: Xcode Project Configuration Gets a JSON Format
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Xcode Project Configuration Gets a JSON Format

**[Fatbobman](https://daily.dev/sources/fatbobman)** · [@fatbobman](https://daily.dev/fatbobman) · 10 min read · 0 upvotes · 0 comments

## Summary

Xcode 27.2 introduces project.xcproj, a JSON-based replacement for the decades-old project.pbxproj build graph inside .xcodeproj bundles. The new format reshapes the flat, ID-heavy pbxproj structure into a tree that mirrors the UI, uses names and paths instead of opaque IDs for cross-references, and reverses relationship direction so files declare their own target membership. This reduces merge conflicts and diff noise, and is explicitly framed by Apple as easing coding-agent interaction with Xcode projects. Existing projects aren't auto-converted; both formats are supported, and new projects default to xcproj. The change doesn't affect Tuist, XcodeGen, Bazel, SwiftPM, or xcconfig workflows, which continue operating as before, though tools may adopt the new format at their own pace. Apple also released the open-source xcode-project-format spec and an xcprojformatter validator/reformatter tool.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://fatbobman.com/en/posts/from-pbxproj-to-xcproj>

## Questions this post answers

### What is project.xcproj in Xcode 27.2 and how is it different from project.pbxproj?

Project.xcproj is a new JSON-based format introduced in Xcode 27.2 that replaces project.pbxproj as the build graph description inside an .xcodeproj bundle. Unlike pbxproj's flat, ID-keyed OpenStep plist structure, xcproj organizes data into a tree mirroring the UI (files, targets, build-settings), lets files declare their own target membership directly, and relies on names and paths instead of 24-character hex IDs for most cross-references, reducing merge conflicts and diff noise.

_Teams weighing an xcproj migration can track how Xcode tooling and Tuist/XcodeGen support evolves on daily.dev._

### How do I convert an existing Xcode project from pbxproj to the new xcproj JSON format?

Run xcodebuild -project MyApp.xcodeproj -convert-project "Xcode Project" from the command line, or select JSON in the File inspector under Project Format within Xcode 27.2. Existing projects are not converted automatically, and Xcode 27.2 continues to support both project.pbxproj and project.xcproj, so teams can migrate at their own pace.

_Developers planning the pbxproj-to-xcproj switch can follow migration guidance and tooling updates on daily.dev._

### Does Xcode's new xcproj format replace Tuist or XcodeGen project manifests?

No, xcproj only changes how the build graph inside the .xcodeproj bundle is expressed; it is not a project manifest and does not replace Tuist's Project.swift or XcodeGen's YAML manifests. Generators keep generating projects and project-modifying tools keep working as before, with each tool free to adopt xcproj support at its own pace without any fundamental workflow change.

_Engineers choosing between Tuist, XcodeGen, and hand-maintained projects can weigh these tradeoffs using daily.dev._

## Similar posts on daily.dev

- [Xcode 27.2 Introduces an Agent- and Merge-Friendly JSON Format for Project Configuration](https://daily.dev/posts/xcode-27-2-introduces-an-agent--and-merge-friendly-json-format-for-project-configuration-3q4lwivix) · InfoQ · 3 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#xcode](https://daily.dev/tags/xcode), [#tuist](https://daily.dev/tags/tuist)

[View this post on daily.dev](https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Xcode Project Configuration Gets a JSON Format","url":"https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh"},"datePublished":"2026-09-17T06:29:55.057Z","dateModified":"2026-09-18T03:00:15.672Z","description":"Xcode 27.2 introduces project.xcproj, a JSON-based replacement for the decades-old project.pbxproj build graph inside .xcodeproj bundles. The new format...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9d4b0f7ce8bd48f4221837e3ae3a9f8e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9d4b0f7ce8bd48f4221837e3ae3a9f8e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Fatbobman","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Yang Xu","url":"https://daily.dev/fatbobman","image":"https://lh3.googleusercontent.com/a/AGNmyxYJD8FDo35yPZMvl1IE9sT7UrM002H-UQb82wk-6A=s96-c","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swift,xcode,tuist","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Fatbobman","item":"https://daily.dev/sources/fatbobman"},{"@type":"ListItem","position":3,"name":"Xcode Project Configuration Gets a JSON Format"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/xcode-project-configuration-gets-a-json-format-lwpcv8pdh#faq","mainEntity":[{"@type":"Question","name":"What is project.xcproj in Xcode 27.2 and how is it different from project.pbxproj?","acceptedAnswer":{"@type":"Answer","text":"Project.xcproj is a new JSON-based format introduced in Xcode 27.2 that replaces project.pbxproj as the build graph description inside an .xcodeproj bundle. Unlike pbxproj's flat, ID-keyed OpenStep plist structure, xcproj organizes data into a tree mirroring the UI (files, targets, build-settings), lets files declare their own target membership directly, and relies on names and paths instead of 24-character hex IDs for most cross-references, reducing merge conflicts and diff noise. Teams weighing an xcproj migration can track how Xcode tooling and Tuist/XcodeGen support evolves on daily.dev."}},{"@type":"Question","name":"How do I convert an existing Xcode project from pbxproj to the new xcproj JSON format?","acceptedAnswer":{"@type":"Answer","text":"Run xcodebuild -project MyApp.xcodeproj -convert-project \"Xcode Project\" from the command line, or select JSON in the File inspector under Project Format within Xcode 27.2. Existing projects are not converted automatically, and Xcode 27.2 continues to support both project.pbxproj and project.xcproj, so teams can migrate at their own pace. Developers planning the pbxproj-to-xcproj switch can follow migration guidance and tooling updates on daily.dev."}},{"@type":"Question","name":"Does Xcode's new xcproj format replace Tuist or XcodeGen project manifests?","acceptedAnswer":{"@type":"Answer","text":"No, xcproj only changes how the build graph inside the .xcodeproj bundle is expressed; it is not a project manifest and does not replace Tuist's Project.swift or XcodeGen's YAML manifests. Generators keep generating projects and project-modifying tools keep working as before, with each tool free to adopt xcproj support at its own pace without any fundamental workflow change. Engineers choosing between Tuist, XcodeGen, and hand-maintained projects can weigh these tradeoffs using daily.dev."}}]}
```

