0

I want to integrate two project in one big project.The main project is calling iGardener and the sub-project is calling BBQ which have a storyboard calling "Main",I put the BBQ xcodeproj into iGardener as the image.

img

then make a storyboard reference in the iGardener storyboard like,

img2

when i run the project,it show,

2016-04-21 14:51:52.028 iGardener[18649:4274976] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle (loaded)'

what's wrong,please help .....

itzmebibin
  • 9,199
  • 8
  • 48
  • 62
Ivan Ngan
  • 123
  • 2
  • 7

1 Answers1

0

Your bundle is not loading in which your main storyboard is there.

Update as per comment :

You should use workspace to combine two projects. here i am sharing Apple documentation and stackoverflow link 1 and Stackoverflow link 2

hope this will help :)

Community
  • 1
  • 1
Ketan Parmar
  • 27,092
  • 9
  • 50
  • 75
  • thanks for your comment ,how to loading the bundle in there?please help,i find this solution for a few days,but have no idea.... – Ivan Ngan Apr 21 '16 at 08:40
  • thanks for your help,but i also cant solve it.i rewrote the question in this link http://stackoverflow.com/questions/36783325/integrate-two-project-and-cross-two-stroyboard maybe it is more clean to explain what the problem is,thanks for your help. – Ivan Ngan Apr 22 '16 at 01:49