Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can`t open storyboard on stable version Xcode

I made a mistake by opening my project in a new beta version of xcode

Now I can not open it with a stable version because

The document “Main.storyboard” requires at least Xcode 11.0.
This version does not support iOS 13.0 system colors. Open this document with at least Xcode 11.0.

On Saturday, I planned to publish the application. and it can not be published with the beta versions.

I need to run the application on the standard version of xcode

Is there any way to fix my situation?

like image 484
Сева Avatar asked Jun 12 '19 13:06

Сева


2 Answers

The document “Main.storyboard” requires at least Xcode 11.0. This version does not support iOS 13.0 system colors. Open this document with at least Xcode 11.0.

solved

open the storyboard as source code and first delete the lines:

<capability name = "iOS 13.0 system colors" minToolsVersion = "11.0" />

and everything where there is

cocoaTouchSystemColor

And then in the Interface builder to restore the desired colors.

thnx for Russian Stack Overflow https://ru.stackoverflow.com/a/992148/322338

like image 111
Сева Avatar answered Oct 07 '22 10:10

Сева


In my case I had to delete this line:

<capability name="collection view cell content view" minToolsVersion="11.0"/>

And then replace all appearances of collectionViewCellContentView with view.

like image 23
Arik Segal Avatar answered Oct 07 '22 12:10

Arik Segal