I want Xcode to ignore the following warning:
"Automatic Preferred Max Layout Width is not available on iOS versions prior to 8.0."
Is there a way to tell Xcode not to show this specific warning?
Navigate to your project file in Xcode and select Build Settings. Ensure all build settings are showed and it is Combined. Scroll down until you see a section called "Interface Builder Storyboard Compiler - Options". There should be a show warnings section for that, just set it to No and recompile and the warning should go away. If it does not just restart Xcode and then the warning should be gone.
If you find out the way to remove --warnings
flag for ibtool then you might ignore all the warnings from the nib
file.
The workaround is to build this storyboard for iOS8.0
NOTE: Though it removes the warning but I have never run the app on iOS7 and I don't know what's the impact of this change.
Also do notify me if you find a better solution
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