I know there are many questions here relating to this error but none of them quite fit my situation. I have made an Xcode project trying to create a star rating UIView with CocoaPods and Cosmos. I am following a tutorial. I was told in the beginning to delete the main storyboard and delete "main" as the main interface. So far I have installed two CocoaPods on my project through the terminal and I am now using a new workspace that CocoaPods created. Every time I run the simulator, my app crashes and I get the error mentioned above but I can't do anything because I have deleted the main storyboard. I have tried making a new one and re-coding and more but nothing works. In the tutorial, the guy ran the exact same code that I have and he just magically has a storyboard with stars on it that you can tap and change. I've done everything he has, how do I fix this?

Here is my info.plist

2

There are 2 best solutions below

1
co5ta On

To delete Main.storyboard as the main interface you have to delete it from the Info.plist file too. Look for the property "Main storyboard file base name".

0
Michael Tangs On

You should delete item in Application Scene Manifest. To keep your setting like the picture: Correct Setting in info.plist