I know that named colors are supported from 11.0 but our project targets iOS 9.0 and we were able to successfully compile it using Xcode 9.0 / 9.1 because named colors were used only in storyboard and not in runtime.
After switching to Xcode 9.2 the project does not compile:
named colors do not work prior to iOS 11.0
//Please right click on Storyboard
//Alt+CMD+f
Now ctrl+F and paste .
color key=(.*) name=.*
and now replace find source with this line
<color key=$1 red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
//MARK:- OR Paste your key in key
(<color key="your key")
build and run
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