cd /news/developer-tools/xcode-27-2-introduces-an-agent-and-m… · home › topics › developer-tools › article
[ARTICLE · art-149541] src=infoq.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Xcode 27.2 Introduces an Agent- and Merge-Friendly JSON Format for Project Configuration

Apple introduced a JSON-based project configuration format for Xcode 27.2, replacing the property-list-based project.pbxproj file with project.xcproj to reduce merge conflicts and make project settings easier for AI coding agents to inspect and modify. Apple published the open source xcode-project-format specification on GitHub along with a Swift package for encoding and decoding the format, which defines targets, file trees, build configurations, build settings, and external dependencies. Developers must confirm tools including fastlane, CocoaPods, and Tuist support the new format before migrating, since the change alters only how the project is represented on disk, not its underlying model.

by read2 min views10 publishedOct 12, 2026
Xcode 27.2 Introduces an Agent- and Merge-Friendly JSON Format for Project Configuration
Image: source

Apple is introducing a new JSON-based format for Xcode project configuration files, replacing the traditional property-list-based format. Available in Xcode 27.2, the new format aims to improve readability, simplify maintenance, and make project configuration easier for AI coding agents to understand and modify.

The open source JSON file format (xcode-project-format) makes verifying project configuration changes easier when committing the project configuration file to your source code repository because changes in the comparison view correspond to your actions in Xcode.

A major advantage of the new format is that it reduces the likelihood of merge conflicts by providing a more stable and predictable representation of project configuration. The JSON format also makes the project structure more accessible to automated development tools, including AI coding agents, simplifying the inspection and modification of project settings.

To help developers work with the new format, Apple has also released a Swift package for encoding and decoding the new format. For example, this is how you list all targets defined in a project:

import XcodeProjectFormat

func listTargets(in projectURL: URL) throws {
    let projectData = try Data(contentsOf: projectURL)
    let project = try XCSchema.Project(jsonRepresentation: projectData)
    for target in project.targets {
        print(target.name)
    }
}

At the top-level, JSON schema defines not only targets but also the file tree, build configurations, build settings, and external dependencies. It also supports relationships between nodes in different subtrees. For example, a file specifies the build phases and targets it belongs to. Importantly, the formats avoid opaque identifiers wherever possible, favoring human-readable names and paths instead. Targets and build products are notable exceptions, as they use identifiers to support references from external files.

Commenting the announcement, senior iOS developer Nikita Dyachkov notes that

The issue of merging project files has been a long-standing problem since project files were introduced and was familiar to anyone who's worked in an iOS development team with more than one developer.

In the same thread, senior iOS engineer Khushal Jhalani described the new, more readable format as a "huge quality-of-life improvement". Others echoed the sentiment that the change was long overdue, with senior iOS developer Moumita China remarking that it could have saved "years of merge conflicts".

Existing projects can be migrated easily, as the new format changes only how the project is represented on disk, not its underlying model. Converting a project replaces the traditional project.pbxproj file with project.xcproj. Before migrating, however, ensure that any tools you are using, including fastlane, CocoaPods, Tuist, and others, support the new format.

── more in #developer-tools 4 stories · sorted by recency
── more on @apple 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/xcode-27-2-introduce…] indexed:0 read:2min 2026-10-12 · —