I’m seeing following error when trying to build the app in
RELEASE configuration. It seems all working fine when I build the same app in
UIStoryboard ‘init(name:bundle)’ is unavailable: Use object construction’ UIStoryboard(name:bundle)’ ‘init(name:bundle)’ has been explicitly marked unavailable here.
I’m sure the same code was running fine few days back (without any error) in RELEASE config.
Here is the line which is throwing error:
let storyboard = UIStoryboard(name: “Main”, bundle: Bundle.main)
I’m compiling this in Xcode Version 8.3.3 (8E3004b).
Powered by WPeMatico