Search code examples
xcodexcode12xcode13macos-monterey

Opening Xcode 13.0 project in Xcode 12.5


When I try to open a Xcode project I'm getting an error message saying :

The project at '/Users/.../[].xcodeproj' cannot be opened because it is in a future Xcode project file format. Adjust the project format using a compatible version of Xcode to allow it to be opened by this version of Xcode.

Im currently on Xcode 12.5.1 and I don't have Xcode 13 installed. There's a similar question(Xcode 13 - The project at '/Users/test.xcodeproj' cannot be opened because it is in a future Xcode project file format) which suggests changing the project format to make it Xcode 12 compatible, but I can't do that since I can't open the project file in Xcode 12.


Solution

  • Make the following (tested with Xcode 13 and Xcode 12.5):

    1. Locate .xcodeproj in Finder and drop inside bundle using Open Package Contents

    demo1

    1. Open project.pbxproj in any text editor (eg. TextEdit)

    demo2

    1. Find, change objectVersion = 55 to objectVersion = 46 (!!), then save and quit

    demo3

    1. Open your xcodeproj in Xcode 12.5 - Done

    Note: I did not check how far it will be operable - probably depends on project complexity, but that can be fixed step by step I assume.