Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crash at startup #18

Open
rams78 opened this issue Feb 12, 2016 · 2 comments
Open

App crash at startup #18

rams78 opened this issue Feb 12, 2016 · 2 comments

Comments

@rams78
Copy link

rams78 commented Feb 12, 2016

2016-02-12 16:48:24.804 MidiMonitor[88004:1246323] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.30.14/UIApplication.m:3315
2016-02-12 16:48:24.807 MidiMonitor[88004:1246323] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application windows are expected to have a root view controller at the end of application launch'
*** First throw call stack:
(
0 CoreFoundation 0x00000001092f0e65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000108cb4deb objc_exception_throw + 48
2 CoreFoundation 0x00000001092f0cca +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010713c4de -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 UIKit 0x000000010750f218 -[UIApplication _runWithMainScene:transitionContext:completion:] + 3122
5 UIKit 0x000000010750be7b -[UIApplication workspaceDidEndTransaction:] + 188
6 FrontBoardServices 0x000000010ab28754 -[FBSSerialQueue _performNext] + 192
7 FrontBoardServices 0x000000010ab28ac2 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
8 CoreFoundation 0x000000010921ca31 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
9 CoreFoundation 0x000000010921295c __CFRunLoopDoSources0 + 556
10 CoreFoundation 0x0000000109211e13 __CFRunLoopRun + 867
11 CoreFoundation 0x0000000109211828 CFRunLoopRunSpecific + 488
12 UIKit 0x000000010750b7cd -[UIApplication _run] + 402
13 UIKit 0x0000000107510610 UIApplicationMain + 171
14 MidiMonitor 0x0000000106fd5bde main + 62
15 libdyld.dylib 0x000000010a4e892d start + 1
16 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Emulator (iPhone 6 Plus iOS 9.2)

@Xample
Copy link

Xample commented Apr 15, 2016

replace PGMidi > Sources > UI > MidiMonitorAppDelegate.m - line 23, with
[window setRootViewController:viewController];

@iooops
Copy link

iooops commented Feb 23, 2017

Thanks! It solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants