I recently upgraded to xcode 5.0.2
Now, I'm getting this warning when I build my Cocoa app:
Attribute Unavailable Use Current Width For Max Layout Width on Mac OS X version prior to 10.8
I tried to locate 'Max Layout Width' but I wasn't able to.
How do I get rid of this warning?
In Xcode 5.1, uncheck the "First Runtime Layout Width" checkbox in the NSTextField
's attributes inspector to remove the warning.
markhunte's answer should give you the background, but in my case there simply wasn't a checkbox for Use First Layout Width As Max for any of my controls. However, in the .xib one text label had:
setsMaxLayoutWidthAtFirstLayout="YES"
Setting it to NO gets rid of 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