I just changed Text style to Body & Warning vanishes.
It's Just because it is dynamic type textStyle
See list of predefined supported dynamic type textStyle -
I had the same problem. Even after I opened the storyboard as source and removed the "adjustsFontForContentSizeCategory" key, saved and cleaned the project it would still show.
So then I:
It was gone. :)
It seems to have been a bug in Xcode. This is what I did to fix it:
The error is still gone.
If the "Automatically adjusts font" box is checked with a non dynamic font this warning will appear. Either uncheck the box on the offending label or use a dynamic font type.
adjustsFontForContentSizeCategory="YES"
In the Storyboard, after uncheck every "Automatically Adjusts Font" in the Attributes Inspector, run shift + command + K and then build your project again. This should clean your project and remove the warning.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With