NSInvalidArgumentException Reason: Could not find a storyboard named 'Main' in bundle NSBundle

PrullebakPrullebak NLMember ✭✭
edited January 2016 in Xamarin.iOS

Hi everyone!

For no reason i can't build my app anymore.. When trying to build the app i always get the following exception.
I tried different things, for example: clean, rebuild, create new project..

It throws an exception from the Main.cs file at: UIApplication.Main (args, null, "AppDelegate");

Objective-C exception thrown. Name: NSInvalidArgumentException Reason: Could not find a storyboard named 'Main' in bundle NSBundle </Users/m/Library/Developer/CoreSimulator/Devices/E190AF48-D4EA-4224-9FA0-C5CE6DAD5FCA/data/Containers/Bundle/Application/73DC18AE-4B36-433A-9C4F-8D70F6A4916D/AppiOS.app> (loaded)
Native stack trace:
0 CoreFoundation 0x08661a14 exceptionPreprocess + 180
1 libobjc.A.dylib 0x089cbe02 objc_exception_throw + 50
2 UIKit 0x0213657d -[UIStoryboard name] + 0
3 UIKit 0x0192a4fc -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 63
4 UIKit 0x0192a89d -[UIApplication _loadMainInterfaceFile] + 292
5 UIKit 0x01928b47 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1590
6 UIKit 0x0194dee5 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3218 + 68
7 UIKit 0x01925966 -[UIApplication workspaceDidEndTransaction:] + 163
8 FrontBoardServices 0x0bdecc76 __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71
9 FrontBoardServices 0x0bdec74d __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54
10 FrontBoardServices 0x0be0a173 -[FBSSerialQueue _performNext] + 184
11 FrontBoardServices 0x0be0a5aa -[FBSSerialQueue _performNextFromRunLoopSource] + 52
12 FrontBoardServices 0x0be098a6 FBSSerialQueueRunLoopSourceHandler + 33
13 CoreFoundation 0x0857b6ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 15
14 CoreFoundation 0x0857138b __CFRunLoopDoSources0 + 523
15 CoreFoundation 0x085707a8 __CFRunLoopRun + 1032
16 CoreFoundation 0x085700e6 CFRunLoopRunSpecific + 470
17 CoreFoundation 0x0856fefb CFRunLoopRunInMode + 123
18 UIKit 0x01925206 -[UIApplication _run] + 540
19 UIKit 0x0192abfa UIApplicationMain + 160
20 ??? 0x17df28e8 0x0 + 400500968
21 ??? 0x17df26e0 0x0 + 400500448
22 ??? 0x17df0860 0x0 + 400492640
23 ??? 0x17df059c 0x0 + 400491932
24 ??? 0x17df0728 0x0 + 400492328
25 libmonosgen-2.0.dylib 0x080b71b3 mono_jit_runtime_invoke + 707
26 libmonosgen-2.0.dylib 0x0826bd0f mono_runtime_invoke + 127
27 libmonosgen-2.0.dylib 0x08270d21 mono_runtime_exec_main + 401
28 libmonosgen-2.0.dylib 0x08270ae5 mono_runtime_run_main + 629
29 libmonosgen-2.0.dylib 0x08124ded mono_jit_exec + 93
30 AppiOS 0x000bcef1 xamarin_main + 2497
31 AppiOS 0x0008f3e1 main + 113
32 libdyld.dylib 0x09369a21 start + 1

Answers

Sign In or Register to comment.