0
votes

Could not find a storyboard named 'Storyboard' in bundle NSBundle

This Exception came when I try to segue from one storyboard to another in second Project in workspace (I have two projects in WorkSpace). How to connect the storyboards?

enter image description here

1
That's seems tricky, is your 2nd project is being used as framework in first project?Inder Kumar Rathore
Every file is associated with a bundle, the main bundle is the bundle of the application and other frameworks etc. have their own bundle. The error you're getting states that the stroyboard you're trying to access is not present in the bundle.Inder Kumar Rathore
The storyBoard I want to access is in sub Project. and from Main Project i am accessing. ( these two projects are in workPlace) . Simply I want to ask ( In workPlace how to go from one Main Projects storyBoard to Another projects story Board)Faizan Ali
Either code for it (load the storyboard from another bundle and then push/present) or include (membership) that story board in your first projectInder Kumar Rathore
i copied the story Board in Main Project, Then its work fine, but i need to run both projects separately, How I can get access of sub project. becoz i initially in Main Project. when i run project then Main Project storyBoard start. How to get access of sub project.Faizan Ali

1 Answers

0
votes

Have you added the other Storyboard file to your target (Ticking Target membership check-box)? You can find it in your File Inspector:

Storyboard target membership