Open xinshouke opened 10 years ago
TEST_URLSession[1607:60b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/happysky/Library/Application Support/iPhone Simulator/7.1-64/Applications/412C75BA-4803-4698-9891-1CF0E047C3EC/TEST_URLSession.app> (loaded)' * First throw call stack: ( 0 CoreFoundation 0x0000000101955495 exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001016b499e objc_exception_throw + 43 2 UIKit 0x000000010071b2b7 +[UIStoryboard storyboardWithName:bundle:] + 542 3 UIKit 0x000000010026167a -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 43 4 UIKit 0x000000010026093e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 454 5 UIKit 0x0000000100271d4c -[UIApplication handleEvent:withNewEvent:] + 3189 6 UIKit 0x0000000100272216 -[UIApplication sendEvent:] + 79 7 UIKit 0x0000000100262086 _UIApplicationHandleEvent + 578 8 GraphicsServices 0x0000000103ace71a _PurpleEventCallback + 762 9 GraphicsServices 0x0000000103ace1e1 PurpleEventCallback + 35 10 CoreFoundation 0x00000001018d7679 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41 11 CoreFoundation 0x00000001018d744e CFRunLoopDoSource1 + 478 12 CoreFoundation 0x0000000101900903 CFRunLoopRun + 1939 13 CoreFoundation 0x00000001018ffd83 CFRunLoopRunSpecific + 467 14 UIKit 0x00000001002602e1 -[UIApplication _run] + 609 15 UIKit 0x0000000100261e33 UIApplicationMain + 1010 16 TEST_URLSession 0x0000000100006bb3 main + 115 17 libdyld.dylib 0x0000000101fed5fd start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException
I don't known why? I recreate a storyboard. try it again~
TEST_URLSession[1607:60b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/happysky/Library/Application Support/iPhone Simulator/7.1-64/Applications/412C75BA-4803-4698-9891-1CF0E047C3EC/TEST_URLSession.app> (loaded)' * First throw call stack: ( 0 CoreFoundation 0x0000000101955495 exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001016b499e objc_exception_throw + 43 2 UIKit 0x000000010071b2b7 +[UIStoryboard storyboardWithName:bundle:] + 542 3 UIKit 0x000000010026167a -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 43 4 UIKit 0x000000010026093e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 454 5 UIKit 0x0000000100271d4c -[UIApplication handleEvent:withNewEvent:] + 3189 6 UIKit 0x0000000100272216 -[UIApplication sendEvent:] + 79 7 UIKit 0x0000000100262086 _UIApplicationHandleEvent + 578 8 GraphicsServices 0x0000000103ace71a _PurpleEventCallback + 762 9 GraphicsServices 0x0000000103ace1e1 PurpleEventCallback + 35 10 CoreFoundation 0x00000001018d7679 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41 11 CoreFoundation 0x00000001018d744e CFRunLoopDoSource1 + 478 12 CoreFoundation 0x0000000101900903 CFRunLoopRun + 1939 13 CoreFoundation 0x00000001018ffd83 CFRunLoopRunSpecific + 467 14 UIKit 0x00000001002602e1 -[UIApplication _run] + 609 15 UIKit 0x0000000100261e33 UIApplicationMain + 1010 16 TEST_URLSession 0x0000000100006bb3 main + 115 17 libdyld.dylib 0x0000000101fed5fd start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException