Search code examples
iosswiftxcodeinterface-builderxcode12

ERROR: "This document requires at least Xcode 12.0"


Opened a project in Xcode 12.0 that I started on Xcode 11.x the other day. Without thinking, I made some edits in the interface builder and when I opened the project back up in Xcode 11.6 I got the This document requires at least Xcode 12.0. error. I can't build the project or open the main storyboard file.

Any thoughts on what I can remove to open/build this project in Xcode 11.6? The recovery suggestion is Recovery Suggestion: This version does not support image references. Open this document with at least Xcode 12.0., but I'm not sure what that means or where to look.

Here is a screenshot of the error


Solution

  • Thanks for the two suggestions! Turns out the issue didn't originate from the storyboard, although that's where the error was being thrown. Instead it was caused by a navigationItem image that I was setting programmatically in one of the project's ViewController files. The icon ended up being exclusive to iOS 14+, which was why the project wouldn't build in Xcode 11.6.

    I switched the icon and everything built without issue.