Xcode 27.2 Now Supports a New JSON Project File Format

Apple Developer:

Xcode now supports a JSON-based project format (.xcproj) that’s more readable, merge-friendly, and easier for coding agents to edit. Enable it in the file inspector. Projects using .xcproj also open in earlier versions of Xcode 27.

Apple released, on GitHub, a Swift library (and CLI tool) for reading, writing, and manipulating this new project format. Michael Tsai has a list of developer reactions, where are universally positive. A sampling:

Simon B. Støvring:

Developers have been screaming for a friendlier Xcode project format for years. I’m one of them.

Tony Arnold:

I’ve been waiting for something like this for most of my career! 🎉

Rob Napier:

It does feel like another case of “we’ve quickly done a thing to help AI that we’ve been unwilling to do for years to help humans.” I’m seeing that happen across the industry.

It is very welcome and appreciated, and lots of thanks to the teams involved. It’s also frustrating that it took “it can help AI” to make it happen.

The old .pbxproj project format was not XML; it was an old NeXT-style “ASCII” property list — a file format that is surprisingly JSON-like considering that it predates not only JSON, but JavaScript (JSON = JavaScript Object Notation). The problem developers have long had with the old .pbxproj project file isn’t about the old plist format, but instead the way the object graph was represented in it. Everything was represented by opaque ID values; one small change in Xcode often resulted in multiple changes on different lines in the .pbxproj file. While technically that format is a human-readable (and thus LLM-readable) text file, it effectively needed to be treated as a binary file.

Tuesday, 22 September 2026