I’m making an attempt to check a function that requires me to simulate my location, which isn’t attainable on an actual machine so far as I do know. This is the reason I now have to construct my app that has been working for a lot of weeks and a whole lot of builds on my actual machine, on a simulator. Nevertheless, as quickly as I begin the app within the simulator (or it will get began by xCode), the app crashes with this log:
*** Terminating app as a consequence of uncaught exception 'NSInvalidArgumentException', cause: 'Couldn't discover a storyboard named 'Predominant' in bundle NSBundle (loaded)'
*** First throw name stack:
(
0 CoreFoundation 0x000000010a3677d4 __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010681b7cc objc_exception_throw + 72
2 UIKitCore 0x0000000145d7f1f0 -[UIStoryboard name] + 0
3 UIKitCore 0x0000000145bd6810 -[UIApplication _storyboardInitialMenu] + 112
4 UIKitCore 0x0000000145bf3544 -[UIApplication buildMenuWithBuilder:] + 44
5 UIKitCore 0x00000001460f2cec -[UIMenuSystem _buildMenuWithBuilder:fromResponderChain:atLocation:inCoordinateSpace:] + 92
6 UIKitCore 0x000000014501b900 -[_UIMainMenuSystem _buildMenuWithBuilder:fromResponderChain:atLocation:inCoordinateSpace:] + 112
7 UIKitCore 0x00000001460f2c2c -[UIMenuSystem _newBuilderFromResponderChain:atLocation:inCoordinateSpace:] + 96
8 UIKitCore 0x000000014501b7d4 -[_UIMainMenuSystem _automaticallyRebuildIfNeeded] + 172
9 UIKitCore 0x000000014501b80c -[_UIMainMenuSystem _keyCommands] + 20
10 UIKitCore 0x0000000145beeeec -[UIApplication _keyCommands] + 80
11 UIKitCore 0x0000000145bffab0 -[UIResponder _enumerateKeyCommandsInChainWithOptions:usingBlock:] + 436
12 UIKitCore 0x0000000145beeb74 -[UIApplication _immediatelyUpdateSerializableKeyCommandsForResponder:] + 164
13 UIKitCore 0x00000001460eb9a8 -[_UIAfterCACommitBlock run] + 64
14 UIKitCore 0x00000001460ebdbc -[_UIAfterCACommitQueue flush] + 164
15 UIKitCore 0x0000000145bdf54c _runAfterCACommitDeferredBlocks + 256
16 UIKitCore 0x0000000145bd1028 _cleanUpAfterCAFlushAndRunDeferredBlocks + 76
17 CoreFoundation 0x000000010a2c7134 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
18 CoreFoundation 0x000000010a2c6898 __CFRunLoopDoBlocks + 348
19 CoreFoundation 0x000000010a2c1450 __CFRunLoopRun + 808
20 CoreFoundation 0x000000010a2c0cec CFRunLoopRunSpecific + 536
21 GraphicsServices 0x000000011f51ad00 GSEventRunModal + 164
22 UIKitCore 0x0000000145bd27d4 -[UIApplication _run] + 796
23 UIKitCore 0x0000000145bd6ba0 UIApplicationMain + 124
24 UIKitCore 0x0000000144f9cf1c block_destroy_helper.14 + 9560
25 [...].debug.dylib 0x0000000107067cdc $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 128
26 [...].debug.dylib 0x0000000107067c4c $s4[...]11AppDelegateC5$mainyyFZ + 44
27 [...].debug.dylib 0x0000000107067d58 __debug_main_executable_dylib_entry_point + 28
28 dyld 0x00000001046113d4 start_sim + 20
29 ??? 0x000000010470ab98 0x0 + 4369460120
)
libc++abi: terminating as a consequence of uncaught exception of sort NSException
*** Terminating app as a consequence of uncaught exception 'NSInvalidArgumentException', cause: 'Couldn't discover a storyboard named 'Predominant' in bundle NSBundle (loaded)'
terminating as a consequence of uncaught exception of sort NSException
CoreSimulator 1010.15 - System: iPhone 16 Professional (7F88C881-9905-4665-AC11-282A5171CCAC) - Runtime: iOS 18.5 (22F77) - DeviceType: iPhone 16 Professional
It appears to crash as a result of my app is in search of a storyboard file, which I’ve faraway from day one, as a result of I’m doing every thing programatically.
Steps I’ve completed:
- Take away the reference to storyboard in Launch Display. -> Was already empty
- Examine for any reference to “Predominant” or Storyboard in my data.plist -> Nothing
- Checked if the deployment goal was set to common or something aside from iPhone -> Was already the case.
I do not know what else I can examine. AI is telling me that it could be a dependency that’s making an attempt to reference Storyboard. In that case, how do I discover out which one it’s?