Could not load NIB in bundle: 'NSBundle'

后端 未结 12 1514
礼貌的吻别
礼貌的吻别 2020-12-03 07:27

What is the error listed below?

2011-02-23 21:24:12.218 Success[7238:207] * Terminating app due to uncaught exception \'NSInternalInconsisten

12条回答
  •  旧巷少年郎
    2020-12-03 08:09

    I Have Same Problem Just Follow Steps.

    1.Copy your Project In Another Place.

    2.Copy your NIB File Which Crash app.

    3.Just Change Name

    Ex. Old File Demo.xib Than Copy And Change Name DemoNew.xib

    My Code is Below

    Old Code

    Demo *controller = [[Demo alloc]initWithNibName:@"Demo" bundle:nil];
    

    I Just Change Name

    Demo *controller = [[Demo alloc]initWithNibName:@"DemoNew" bundle:nil];
    

    its working for me.

提交回复
热议问题