UITableViewCell style causes configuration error

I have a UITableViewCell, and if I set its style to anything other than Custom, it gives me the following development-time error:

Illegal Configuration Only the "Custom" style is supported in versions prior to Xcode 4.2 

It will still compile and work fine.

I am using Xcode 4.2 (build 4D199), so I don’t understand why it says it. In addition, I cannot find anything on the Internet about this, which makes me suspicious that this is something special for my setting.

I can duplicate it by creating a new Xcode project and simply dropping the UITableViewCell on the designer and setting its style to something other than Basic. If someone can do this very quickly to see if it happens to them, even this can help, because then at least I know if this is just my setup.

Any ideas are welcome.

+4
source share
1 answer

No, biggie. This warning is triggered just in case you want to open your project in linker versions of version 4.2. Open the xib cell and view the version control settings (Figure below)

enter image description here

From the deployment / development drop-down lists, select the latest version of Xcode and the warning should disappear.

+11
source

Source: https://habr.com/ru/post/1381767/


All Articles