質問編集履歴
2
調べた結果を反映したらこのエラーになりました。変更点はconnection inspecter内のReference outlets 内の不要な接続を削除しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
2020-02-04 1
|
25
|
+
2020-02-04 16:05:48.792388+0900 testapp3[6804:488971] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Pushing a navigation controller is not supported'
|
26
26
|
|
27
27
|
*** First throw call stack:
|
28
28
|
|
@@ -32,63 +32,53 @@
|
|
32
32
|
|
33
33
|
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
|
34
34
|
|
35
|
-
2 Core
|
35
|
+
2 UIKitCore 0x00007fff4797bcfb -[UINavigationController pushViewController:transition:forceImmediate:] + 451
|
36
36
|
|
37
|
-
3
|
37
|
+
3 UIKitCore 0x00007fff4797b9a4 -[UINavigationController pushViewController:animated:] + 669
|
38
38
|
|
39
|
-
4 UIKitCore 0x00007fff4
|
39
|
+
4 UIKitCore 0x00007fff481f561a __66-[UIStoryboardPushSegueTemplate newDefaultPerformHandlerForSegue:]_block_invoke + 419
|
40
40
|
|
41
|
-
5 UIKitCore 0x00007fff4
|
41
|
+
5 UIKitCore 0x00007fff481f9ec4 -[UIStoryboardSegueTemplate _performWithDestinationViewController:sender:] + 276
|
42
42
|
|
43
|
-
6 Core
|
43
|
+
6 UIKitCore 0x00007fff481f9d82 -[UIStoryboardSegueTemplate _perform:] + 82
|
44
44
|
|
45
|
-
7 UIKitCore 0x00007fff4
|
45
|
+
7 UIKitCore 0x00007fff481fa044 -[UIStoryboardSegueTemplate perform:] + 157
|
46
46
|
|
47
|
-
8 UIKitCore 0x00007fff4
|
47
|
+
8 UIKitCore 0x00007fff48093fff -[UIApplication sendAction:to:from:forEvent:] + 83
|
48
48
|
|
49
|
-
9 UIKitCore 0x00007fff47a
|
49
|
+
9 UIKitCore 0x00007fff47a6c00e -[UIControl sendAction:to:forEvent:] + 223
|
50
50
|
|
51
|
-
10 UIKitCore 0x00007fff47a
|
51
|
+
10 UIKitCore 0x00007fff47a6c358 -[UIControl _sendActionsForEvents:withEvent:] + 398
|
52
52
|
|
53
|
-
11 UIKitCore 0x00007fff47
|
53
|
+
11 UIKitCore 0x00007fff47a6b2b7 -[UIControl touchesEnded:withEvent:] + 481
|
54
54
|
|
55
|
-
12 UIKitCore 0x00007fff4
|
55
|
+
12 UIKitCore 0x00007fff480cebbf -[UIWindow _sendTouchesForEvent:] + 2604
|
56
56
|
|
57
|
-
13 UIKitCore 0x00007fff4
|
57
|
+
13 UIKitCore 0x00007fff480d04c6 -[UIWindow sendEvent:] + 4596
|
58
58
|
|
59
|
-
14 UIKitCore 0x00007fff4
|
59
|
+
14 UIKitCore 0x00007fff480ab53b -[UIApplication sendEvent:] + 356
|
60
60
|
|
61
|
-
15 UIKitCore 0x00007fff47
|
61
|
+
15 UIKitCore 0x00007fff4812c71a __dispatchPreprocessedEventFromEventQueue + 6847
|
62
62
|
|
63
|
-
16 UIKitCore 0x00007fff48
|
63
|
+
16 UIKitCore 0x00007fff4812f1e0 __handleEventQueueInternal + 5980
|
64
64
|
|
65
|
-
17
|
65
|
+
17 CoreFoundation 0x00007fff23bd4471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
|
66
66
|
|
67
|
-
18
|
67
|
+
18 CoreFoundation 0x00007fff23bd439c __CFRunLoopDoSource0 + 76
|
68
68
|
|
69
|
-
19
|
69
|
+
19 CoreFoundation 0x00007fff23bd3b74 __CFRunLoopDoSources0 + 180
|
70
70
|
|
71
|
-
20
|
71
|
+
20 CoreFoundation 0x00007fff23bce87f __CFRunLoopRun + 1263
|
72
72
|
|
73
|
-
21
|
73
|
+
21 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
|
74
74
|
|
75
|
-
22
|
75
|
+
22 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
|
76
76
|
|
77
|
-
23 Core
|
77
|
+
23 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
|
78
78
|
|
79
|
-
24
|
79
|
+
24 testapp3 0x0000000106c3facb main + 75
|
80
80
|
|
81
|
-
25 CoreFoundation 0x00007fff23bce894 __CFRunLoopRun + 1284
|
82
|
-
|
83
|
-
26 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
|
84
|
-
|
85
|
-
27 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
|
86
|
-
|
87
|
-
28 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
|
88
|
-
|
89
|
-
29 testapp3 0x0000000105f23acb main + 75
|
90
|
-
|
91
|
-
|
81
|
+
25 libdyld.dylib 0x00007fff5227ec25 start + 1
|
92
82
|
|
93
83
|
)
|
94
84
|
|
1
エラーを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,6 +15,86 @@
|
|
15
15
|
```
|
16
16
|
|
17
17
|
Thread 1: signal SIGABRT
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
右下window内のエラーです
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
2020-02-04 15:59:22.696296+0900 testapp3[6757:484280] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<testapp3.ViewController 0x7fc599608eb0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key button1.'
|
26
|
+
|
27
|
+
*** First throw call stack:
|
28
|
+
|
29
|
+
(
|
30
|
+
|
31
|
+
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
|
32
|
+
|
33
|
+
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
|
34
|
+
|
35
|
+
2 CoreFoundation 0x00007fff23c70e49 -[NSException raise] + 9
|
36
|
+
|
37
|
+
3 Foundation 0x00007fff25712ee3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 325
|
38
|
+
|
39
|
+
4 UIKitCore 0x00007fff47a0b7c5 -[UIViewController setValue:forKey:] + 87
|
40
|
+
|
41
|
+
5 UIKitCore 0x00007fff47cfc312 -[UIRuntimeOutletConnection connect] + 109
|
42
|
+
|
43
|
+
6 CoreFoundation 0x00007fff23c5d2a2 -[NSArray makeObjectsPerformSelector:] + 242
|
44
|
+
|
45
|
+
7 UIKitCore 0x00007fff47cf94ba -[UINib instantiateWithOwner:options:] + 2190
|
46
|
+
|
47
|
+
8 UIKitCore 0x00007fff47a12ca6 -[UIViewController _loadViewFromNibNamed:bundle:] + 395
|
48
|
+
|
49
|
+
9 UIKitCore 0x00007fff47a137cb -[UIViewController loadView] + 177
|
50
|
+
|
51
|
+
10 UIKitCore 0x00007fff47a13aca -[UIViewController loadViewIfRequired] + 172
|
52
|
+
|
53
|
+
11 UIKitCore 0x00007fff479781e4 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 160
|
54
|
+
|
55
|
+
12 UIKitCore 0x00007fff479784e8 -[UINavigationController _startTransition:fromViewController:toViewController:] + 144
|
56
|
+
|
57
|
+
13 UIKitCore 0x00007fff479793b6 -[UINavigationController _startDeferredTransitionIfNeeded:] + 868
|
58
|
+
|
59
|
+
14 UIKitCore 0x00007fff4797a721 -[UINavigationController __viewWillLayoutSubviews] + 150
|
60
|
+
|
61
|
+
15 UIKitCore 0x00007fff4795b553 -[UILayoutContainerView layoutSubviews] + 217
|
62
|
+
|
63
|
+
16 UIKitCore 0x00007fff485784bd -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2478
|
64
|
+
|
65
|
+
17 QuartzCore 0x00007fff2b131db1 -[CALayer layoutSublayers] + 255
|
66
|
+
|
67
|
+
18 QuartzCore 0x00007fff2b137fa3 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 517
|
68
|
+
|
69
|
+
19 QuartzCore 0x00007fff2b1438da _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 80
|
70
|
+
|
71
|
+
20 QuartzCore 0x00007fff2b08a848 _ZN2CA7Context18commit_transactionEPNS_11TransactionEd + 324
|
72
|
+
|
73
|
+
21 QuartzCore 0x00007fff2b0bfb51 _ZN2CA11Transaction6commitEv + 643
|
74
|
+
|
75
|
+
22 UIKitCore 0x00007fff480aa575 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 81
|
76
|
+
|
77
|
+
23 CoreFoundation 0x00007fff23bd429c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
|
78
|
+
|
79
|
+
24 CoreFoundation 0x00007fff23bd3a08 __CFRunLoopDoBlocks + 312
|
80
|
+
|
81
|
+
25 CoreFoundation 0x00007fff23bce894 __CFRunLoopRun + 1284
|
82
|
+
|
83
|
+
26 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
|
84
|
+
|
85
|
+
27 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
|
86
|
+
|
87
|
+
28 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
|
88
|
+
|
89
|
+
29 testapp3 0x0000000105f23acb main + 75
|
90
|
+
|
91
|
+
30 libdyld.dylib 0x00007fff5227ec25 start + 1
|
92
|
+
|
93
|
+
)
|
94
|
+
|
95
|
+
libc++abi.dylib: terminating with uncaught exception of type NSException
|
96
|
+
|
97
|
+
(lldb)
|
18
98
|
|
19
99
|
```
|
20
100
|
|