Excellent question. You've provided all the key pieces of evidence, and piecing them together reveals a clear and interesting story about the evolution of this file format and Apple's security strategy.
Here is a breakdown of the answers to your questions based on the evidence you and others have found.
1. What is the origin of the XIP file format?
The origin of the XIP format lies in Apple's need for a secure, verifiable way to distribute software. Unlike a standard ZIP or DMG file, a XIP file's core feature is its mandatory digital signature.
- Structure: As you noted, it's a digitally signed wrapper around a standard
xar (eXtensible ARchiver) archive. xar itself is an open-source format that Apple has used for years, notably inside .pkg installer files.
- Purpose: The signature ensures two things:
- Authenticity: The archive was created by the entity holding the signing certificate (e.g., Apple).
- Integrity: The contents of the archive have not been tampered with since it was signed.
The operating system's Archive Utility (and the xip command-line tool) will refuse to expand a XIP archive if the signature is invalid, missing, or from an untrusted source, making it a fundamentally more secure container than a DMG.
2. Who developed it at Apple?
This information is not public. The names of individual engineers or the specific internal teams responsible for file formats like this are rarely disclosed. However, it's safe to assume it was developed within Apple's Core OS or Security Engineering teams, as its primary function is deeply tied to the operating system's security and software update mechanisms.
3. Was it used prior to 2013?
Yes, absolutely.
Your key piece of evidence is the most important one: the xip utility's man page date of September 23, 2011.
This date confirms the utility and the format existed and were integrated into the OS at least two years before Mavericks was released. This places its creation squarely in the era of Mac OS X 10.7 Lion, which was released in July 2011.
Putting It All Together: A Coherent Timeline
The timeline you've laid out isn't contradictory; it shows the evolution of the format's usage and policy.
-
c. 2011 (Mac OS X Lion): Creation and Internal Use
- The
xip format and command-line utility are created by Apple.
- Its primary purpose is likely for Apple's own internal or system-level software distribution where signature verification is critical. It is not yet a mainstream, developer-facing format.
-
2013 (Mac OS X Mavericks): The "Public" Debut
- With Mavericks, the XIP format becomes a more visible, developer-facing technology.
- Apple likely begins encouraging developers to use it as a secure distribution method.
- The fact that The Unarchiver added support in June 2013, right after WWDC, is a strong indicator that this was the moment Apple "unveiled" it to the developer community as a viable option.
-
2016 (macOS Sierra): The Policy Shift and Reclaiming
- This is the pivotal year. Two things happen concurrently:
- TN2206 Policy Change: Apple announces that starting with macOS Sierra, the OS will only expand XIP archives signed by Apple. This effectively deprecates the format for all third-party developers, forcing them to use signed DMGs or Installer Packages instead.
- Xcode 8 Switches to XIP: At the exact same time Apple makes the format exclusive, it switches its most important developer tool, Xcode, from DMG to XIP.
Conclusion:
The origin of the XIP format is an internal Apple project from around 2011, designed for secure software distribution. It had a brief period (2013-2016) where it was positioned as a tool for all developers.
Ultimately, Apple decided its security benefits were too valuable to leave open. They reclaimed it as an Apple-exclusive, high-trust distribution channel. This move ensured that when a user downloads an official .xip file like Xcode, the system guarantees it is authentic and unmodified directly from Apple, providing a level of security that a standard DMG cannot match. The name "Xcode Install Package" is likely a backronym or a description of its most famous use case, not its original internal project name.