Since you are using Storyboard, make sure the Main Storyboard file base name
key exists in your info.plist
.
It's value is generally "MainStoryboard", sometimes simply "Main" or could even be any name that you had customized your Storyboard with.
If the key is deleted or contains an incorrect Storyboard name then the app doesn't get an entrypoint to your custom classes and it's as good as not having any viewController
in your app.
If you need to add this key:
- Go to
info.plist
- Click on the
+
(in root and not within any array) - Specify
- key:
Main Storyboard file base name
- type:
String
- value:
MainStoryboard
(or your custom Storyboard name you have used)
- key:
something like: