I was able to solve it by setting storyboard's build target. Open the storyboard and select the File Inspector tab. Set the "Builds For" value to your deployment target.
For me it is already set to correct value. Even when I set it to different version and then back to Deployment Target version, the error in console stays.