@implementation CBAppDelegateImpl
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
mApp = cinder::app::AppCocoaTouch::get();
mAppImpl = mApp->privateGetImpl();
[UIApplication sharedApplication].statusBarHidden = mAppImpl->mStatusBarShouldHide;
for( auto &windowImpl : mAppImpl->mWindows )
[windowImpl finishLoad];
mApp->privateSetup__();
mAppImpl->mSetupHasFired = YES;
[mAppImpl startAnimation];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *presetsPath = [documentsDirectory stringByAppendingPathComponent:@"presets"];
if(![[NSFileManager defaultManager] fileExistsAtPath:presetsPath]) {
NSError *error = nil;
[[NSFileManager defaultManager] createDirectoryAtPath:presetsPath
withIntermediateDirectories:YES
attributes:nil error:&error];
}
[Fabric with:@[[Answers class], [Crashlytics class]]];
return YES;
}
2016-10-24 10:52:50.197 Circular Bells[22394:2490253] *** Assertion failure in -[UIGestureGraphEdge initWithLabel:sourceNode:targetNode:directed:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3599.6/Source/GestureGraph/UIGestureGraphEdge.m:25
2016-10-24 10:52:50.201 Circular Bells[22394:2490253] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: targetNode'
*** First throw call stack:
(
0 CoreFoundation 0x000000010e52f34b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010dee521e objc_exception_throw + 48
2 CoreFoundation 0x000000010e533442 +[NSException raise:format:arguments:] + 98
3 Foundation 0x000000010af6cedd -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 UIKit 0x000000010bfc1979 -[UIGestureGraphEdge initWithLabel:sourceNode:targetNode:directed:] + 445
5 UIKit 0x000000010b840b23 -[UIGestureGraph addUniqueEdgeWithLabel:sourceNode:targetNode:directed:properties:] + 711
6 UIKit 0x000000010b928fc5 -[UIGestureEnvironment _addDynamicRequirementForGestureRecognizer:requiringGestureRecognizerToFail:] + 159
7 UIKit 0x000000010b92f47f _UIGestureRecognizerQueryDynamicFailureRequirements + 1415
8 UIKit 0x000000010b92b931 _UIGestureEnvironmentUpdate + 78
9 UIKit 0x000000010b92b89b -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 521
10 UIKit 0x000000010b92aa7e -[UIGestureEnvironment _updateGesturesForEvent:window:] + 286
11 UIKit 0x000000010b4697ad -[UIWindow sendEvent:] + 3989
12 UIKit 0x000000010b416a33 -[UIApplication sendEvent:] + 371
13 UIKit 0x000000010bc08b6d __dispatchPreprocessedEventFromEventQueue + 3248
14 UIKit 0x000000010bc01817 __handleEventQueue + 4879
15 CoreFoundation 0x000000010e4d4311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 CoreFoundation 0x000000010e4b959c __CFRunLoopDoSources0 + 556
17 CoreFoundation 0x000000010e4b8a86 __CFRunLoopRun + 918
18 CoreFoundation 0x000000010e4b8494 CFRunLoopRunSpecific + 420
19 GraphicsServices 0x000000010f76ba6f GSEventRunModal + 161
20 UIKit 0x000000010b3f8f34 UIApplicationMain + 159
21 Circular Bells 0x00000001092fe40a _ZN16CircularBellsApp6launchEv + 506
22 Circular Bells 0x0000000109397f0e _ZN6cinder3app7AppBase13executeLaunchEv + 30
23 Circular Bells 0x000000010930a934 _ZN6cinder3app13AppCocoaTouch4mainI16CircularBellsAppEEvRKNSt3__110shared_ptrINS0_8RendererEEEPKciPKPcRKNS4_8functionIFvPNS1_8SettingsEEEE + 292
24 Circular Bells 0x000000010930a6e1 main + 241
25 libdyld.dylib 0x000000010eab768d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
and I think this guy here has a possible explanation (or at least, it seems that he's getting the same error as mine). If you can't access that post, it says