Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/newmac/Library/Developer/CoreSimulator/Devices/6BCFEB99-13E5-4550-9623-D009C0AC7637/data/Containers/Bundle/Application/1EB7B3E2-6DFA-439C-9FB9-207D09245AA2/XTWL_XFJY.app>
(loaded)' with name 'SecondViewController''
先检查xib的名字有没有输错
然后进入targets->Build Pases->Copy Bundle Resources在。看,如果没有相应的xib,没有,然后加入
版权声明:本文博客原创文章,博客,未经同意,不得转载。