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.
It will fix the error.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: