I keep getting Xcode compiler errors "Named colors do not work prior to iOS 11.0." even though the deployment target in Xcode to be iOS 11.0
I've tried changing the deployment target to be 12.2 and cleaning the build folder but the error still persists.
My project settings for deployment are:
Targeted Device Family: iPhone
Debug: iPhone
Release: iPhone
iOS Deployment Target: iOS 11.0
Debug: iOS 11.0
Release: iOS 11.0
Open your storyboard, Open 'File inspector' on right panel and change the property 'Builds for' to correct version, maybe 'iOS 11 and Later'
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