1

I am updating an app that was initially built with a single view controller. That view controller is now only called when the user presses the Add button in the nav bar on either screen of the tab bar controller. I have updated the tab bar controller to be the initial view controller per this post, however removing the "is initial view controller" from the original view controller is causing the build to fail. I am receiving the following error:

/* com.apple.ibtool.errors */
: error: TabBarStoryboard.storyboard references the initial view controller of Main.storyboard, but no designated entry point was found.

How can I tell Xcode that the tab bar view controller is the view controller to load when the app launches? Here is a link to the repo.

Andrew Tuzson
  • 619
  • 8
  • 28
  • i download your repo. its work fine. When i run the code. Simulator directly show me Tab bar. – Khawar Islam Dec 31 '17 at 12:53
  • @andrew-tuzson : Repo you provided does not have TabBarStoryboard.storyboard clearly you missed to add it to repo. Anyhow if you have multiple storyboard go and update your target's main interface as shown in the answer below – Sandeep Bhandari Dec 31 '17 at 12:56

1 Answers1

1

You have to select TabBarStoryboard as your Main interface in project settings as shown below

enter image description here

Select TabBarStoryboard from drop down in your project setting

Hope that helps

Sandeep Bhandari
  • 19,999
  • 5
  • 45
  • 78