Fehlermeldung: Unsupported Configuration

AppleDevo

Jonagold
Registriert
15.03.14
Beiträge
23
Guten Abend

Ich bin gerade dabei, eine kleine App zum lernen zu schreiben.
Mein Storyboard besteht aus ca. 8 ViewController.

Auf einmal kam die Fehlermeldung:

Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via - instantiateViewControllerWithIdentifier:.

Ich verstehe leider nicht ganz, was gemeint ist. Irgendetwas mit dem Identifier....

Gruss
 

AppleDevo

Jonagold
Registriert
15.03.14
Beiträge
23
Das Problem konnte ich lösen, nun taucht aber ein neues auf...

Wenn ich das Project starte, henkt er sich nach einer kurzen Zeit auf. Fehlermeldungen zeigt er keine an, das einzige was auftaucht ist folgendes:

#import <UIKit/UIKit.h>



#import "AppDelegate.h"



int main(int argc, char * argv[])

{

@autoreleasepool {

returnUIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegateclass]));

}

}

und folgendes in der Output:

2014-04-25 **:**:**.*** Prokejt name *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Grundzahlen 0xa23a070> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key Zahl.'

*** First throw call stack:

(

0 CoreFoundation 0x017ff1e4 __exceptionPreprocess + 180

1 libobjc.A.dylib 0x0156a8e5 objc_exception_throw + 44

2 CoreFoundation 0x0188efe1 -[NSException raise] + 17

3 Foundation 0x0122ad9e -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] + 282

4 Foundation 0x011971d7 _NSSetUsingKeyValueSetter + 88

5 Foundation 0x01196731 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 267

6 Foundation 0x011f8b0a -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 412

7 UIKit 0x004e11f4 -[UIRuntimeOutletConnection connect] + 106

8 libobjc.A.dylib 0x0157c7de -[NSObject performSelector:] + 62

9 CoreFoundation 0x017fa76a -[NSArray makeObjectsPerformSelector:] + 314

10 UIKit 0x004dfd4d -[UINib instantiateWithOwner:oops:ptions:] + 1417

11 UIKit 0x003486f5 -[UIViewController _loadViewFromNibNamed:bundle:] + 280

12 UIKit 0x00348e9d -[UIViewController loadView] + 302

13 UIKit 0x003490d3 -[UIViewController loadViewIfRequired] + 78

14 UIKit 0x003495d9 -[UIViewController view] + 35

15 UIKit 0x00358f89 -[UIViewController shouldAutorotate] + 36

16 UIKit 0x003592d1 -[UIViewController _preferredInterfaceOrientationForPresentationInWindow:fromInterfaceOrientation:] + 297

17 UIKit 0x005f73d5 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:animation:] + 2330

18 UIKit 0x003555d5 -[UIViewController presentViewController:withTransition:completion:] + 6538

19 UIKit 0x00355aef -[UIViewController presentViewController:animated:completion:] + 130

20 UIKit 0x00355b2f -[UIViewController presentModalViewController:animated:] + 56

21 UIKit 0x0079fe00 -[UIStoryboardModalSegue perform] + 271

22 UIKit 0x0078ef0c -[UIStoryboardSegueTemplate _perform:] + 174

23 UIKit 0x0078ef87 -[UIStoryboardSegueTemplate perform:] + 115

24 libobjc.A.dylib 0x0157c880 -[NSObject performSelector:withObject:withObject:] + 77

25 UIKit 0x0022c3b9 -[UIApplication sendAction:to:from:forEvent:] + 108

26 UIKit 0x0022c345 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61

27 UIKit 0x0032dbd1 -[UIControl sendAction:to:forEvent:] + 66

28 UIKit 0x0032dfc6 -[UIControl _sendActionsForEvents:withEvent:] + 577

29 UIKit 0x0032d243 -[UIControl touchesEnded:withEvent:] + 641

30 UIKit 0x0026bddd -[UIWindow _sendTouchesForEvent:] + 852

31 UIKit 0x0026c9d1 -[UIWindow sendEvent:] + 1117

32 UIKit 0x0023e5f2 -[UIApplication sendEvent:] + 242

33 UIKit 0x00228353 _UIApplicationHandleEventQueue + 11455

34 CoreFoundation 0x0178877f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15

35 CoreFoundation 0x0178810b __CFRunLoopDoSources0 + 235

36 CoreFoundation 0x017a51ae __CFRunLoopRun + 910

37 CoreFoundation 0x017a49d3 CFRunLoopRunSpecific + 467

38 CoreFoundation 0x017a47eb CFRunLoopRunInMode + 123

39 GraphicsServices 0x037df5ee GSEventRunModal + 192

40 GraphicsServices 0x037df42b GSEventRun + 104

41 UIKit 0x0022af9b UIApplicationMain + 1225

42 *********************** 0x000020cd main + 141

43 libdyld.dylib 0x01e32701 start + 1

44 ??? 0x00000001 0x0 + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)
 

MacApple

Schöner von Bath
Registriert
05.01.04
Beiträge
3.652
Na, wenn das keine Fehlermeldung sein soll. Dein Programm stürzt ab, weil du versuchst bei einer Instanz der Klasse „Grundzahlen“ einer Eigenschaft „Zahl“ einen Wert zuzuweisen. Diese Eigenschaft hat die Klasse „Grundzahlen“ aber nicht. Wenn du einen Exception Breakpoint setzt, dann stoppt der Debugger dein Programm auch an der Stelle, wo es kracht.