質問編集履歴

12

修正

2019/08/04 16:52

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -230,6 +230,6 @@
230
230
 
231
231
 
232
232
 
233
- 8/5 追記:ついに成功できました(涙) 本当に教えていただきありがとうございました
233
+ 8/5 追記:ついに成功できました(涙) 本当に教えていただきありがとうございましたm(_ _)m
234
234
 
235
235
  ![イメージ説明](705c9180f3910cd8eb1f277742cdb78f.png)

11

修正

2019/08/04 16:52

投稿

samson66
samson66

スコア35

test CHANGED
@@ -1 +1 @@
1
- Xcode Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラー解決法がわかりません。
1
+ 「Tabman」に関するコード・storyboardの設定・xcodeの設定に関する質問
test CHANGED
File without changes

10

修正

2019/08/04 16:51

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -227,3 +227,9 @@
227
227
  (lldb)
228
228
 
229
229
  ```
230
+
231
+
232
+
233
+ 8/5 追記:ついに成功できました(涙) 本当に教えていただきありがとうございました。
234
+
235
+ ![イメージ説明](705c9180f3910cd8eb1f277742cdb78f.png)

9

修正

2019/08/04 16:48

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -1,235 +1,229 @@
1
+ ![イメージ説明](93a6be0bc7cefa0640e8cf6e4f15bf2f.png)
2
+
3
+
4
+
5
+ コード全文
6
+
7
+ ```Swift4.0
8
+
9
+ import UIKit
10
+
11
+ import Tabman
12
+
13
+ import Pageboy
14
+
15
+
16
+
17
+ class TabViewController: TabmanViewController,PageboyViewControllerDataSource, TMBarDataSource {
18
+
19
+
20
+
21
+ func barItem(for bar: TMBar, at index: Int) -> TMBarItemable {
22
+
23
+ return viewControllers[2] as! TMBarItemable
24
+
25
+ }
26
+
27
+
28
+
29
+ func numberOfViewControllers(in pageboyViewController: PageboyViewController) -> Int {
30
+
31
+ return viewControllers.count
32
+
33
+ }
34
+
35
+
36
+
37
+ func viewController(for pageboyViewController: PageboyViewController,
38
+
39
+ at index: PageboyViewController.PageIndex) -> UIViewController? {
40
+
41
+ return viewControllers[index]
42
+
43
+ }
44
+
45
+
46
+
47
+ func defaultPage(for pageboyViewController: PageboyViewController) -> PageboyViewController.Page? {
48
+
49
+ return nil
50
+
51
+ }
52
+
53
+
54
+
55
+ func barItem(for tabViewController: TabmanViewController, at index: Int) -> TMBarItemable {
56
+
57
+ let title = "Page (index)"
58
+
59
+ return TMBarItem(title: title)
60
+
61
+ }
62
+
63
+
64
+
65
+ private var viewControllers = [ViewController1(), UIViewController2(),UIViewController3()]
66
+
67
+
68
+
69
+ override func viewDidLoad() {
70
+
71
+ super.viewDidLoad()
72
+
73
+
74
+
75
+ self.dataSource = self
76
+
77
+
78
+
79
+ // Create bar
80
+
81
+ let bar = TMBar.ButtonBar()
82
+
83
+ bar.layout.transitionStyle = .snap // Customize
84
+
85
+
86
+
87
+ // Add to view
88
+
89
+ addBar(bar, dataSource: self, at: .top)
90
+
91
+ }
92
+
93
+ }
94
+
95
+
96
+
97
+ ```
98
+
99
+
100
+
101
+
102
+
103
+ 実現したいことは「Tabman」と言われるモジュールで画面を切り替えるページングメニューバーを作ることです。
104
+
105
+ 以下の公式の手順通りに現在開発を進めています。(英語です)
106
+
107
+ https://uias.github.io/Tabman/master/index.html
108
+
109
+
110
+
111
+ このような実行結果を期待しています。
112
+
113
+ ![イメージ説明](5a919d7c31b20f1c617b6b96c1dba86c.png)
114
+
115
+
116
+
117
+ 画面構成は自分でview controllersを配置してセグエでTabViewControllerからそれぞれ繋げて構成してみました。
118
+
119
+ ![イメージ説明](2fe0fb06d636ef740fa0154efc3a8331.png)
120
+
121
+
122
+
123
+ 初歩的・大雑把な質問で申し訳ございません。
124
+
125
+ 解決に繋がりそうなアドバイスなどなんでもお待ちしています。
126
+
127
+ ぜひご教授願い致しますm(_ _)m
128
+
129
+
130
+
131
+ 追記 タブの表示に成功(レイアウトは反映されず)
132
+
133
+ ![イメージ説明](ea66995def09ad596fc950b212ee3eba.png)
134
+
135
+
136
+
137
+ 8/1 追記 掲載されたプロジェクトを参考に進めましたが、AppDelegateでエラーが発生
138
+
139
+ ![イメージ説明](bf8a68f2504962c3c2a4a531f70eed62.png)
140
+
141
+
142
+
143
+ 8/3 追記 コンソールのメッセージ
144
+
1
145
  ```ここに言語を入力
2
146
 
3
- コード
4
-
5
- ```エラー個所
6
-
7
- ![イメージ説明](93a6be0bc7cefa0640e8cf6e4f15bf2f.png)
8
-
9
-
10
-
11
- コード全文
12
-
13
- ```Swift4.0
14
-
15
- import UIKit
16
-
17
- import Tabman
18
-
19
- import Pageboy
20
-
21
-
22
-
23
- class TabViewController: TabmanViewController,PageboyViewControllerDataSource, TMBarDataSource {
24
-
25
-
26
-
27
- func barItem(for bar: TMBar, at index: Int) -> TMBarItemable {
28
-
29
- return viewControllers[2] as! TMBarItemable
30
-
31
- }
32
-
33
-
34
-
35
- func numberOfViewControllers(in pageboyViewController: PageboyViewController) -> Int {
36
-
37
- return viewControllers.count
38
-
39
- }
40
-
41
-
42
-
43
- func viewController(for pageboyViewController: PageboyViewController,
44
-
45
- at index: PageboyViewController.PageIndex) -> UIViewController? {
46
-
47
- return viewControllers[index]
48
-
49
- }
50
-
51
-
52
-
53
- func defaultPage(for pageboyViewController: PageboyViewController) -> PageboyViewController.Page? {
54
-
55
- return nil
56
-
57
- }
58
-
59
-
60
-
61
- func barItem(for tabViewController: TabmanViewController, at index: Int) -> TMBarItemable {
62
-
63
- let title = "Page (index)"
64
-
65
- return TMBarItem(title: title)
66
-
67
- }
68
-
69
-
70
-
71
- private var viewControllers = [ViewController1(), UIViewController2(),UIViewController3()]
72
-
73
-
74
-
75
- override func viewDidLoad() {
76
-
77
- super.viewDidLoad()
78
-
79
-
80
-
81
- self.dataSource = self
82
-
83
-
84
-
85
- // Create bar
86
-
87
- let bar = TMBar.ButtonBar()
88
-
89
- bar.layout.transitionStyle = .snap // Customize
90
-
91
-
92
-
93
- // Add to view
94
-
95
- addBar(bar, dataSource: self, at: .top)
96
-
97
- }
98
-
99
- }
100
-
101
-
147
+ 2019-08-03 02:12:38.319389+0900 tabbar[63029:2060250] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/tomoya/Library/Developer/CoreSimulator/Devices/A5979362-CDD8-43C7-887C-D00D530C75C1/data/Containers/Bundle/Application/32D75E3C-A0CA-4FB9-9CAA-C2B997081DA6/tabbar.app> (loaded)'
148
+
149
+ *** First throw call stack:
150
+
151
+ (
152
+
153
+ 0 CoreFoundation 0x00000001108381bb __exceptionPreprocess + 331
154
+
155
+ 1 libobjc.A.dylib 0x000000010f2ed735 objc_exception_throw + 48
156
+
157
+ 2 UIKitCore 0x00000001153df27a +[UIStoryboard storyboardWithName:bundle:] + 676
158
+
159
+ 3 UIKitCore 0x000000011523e016 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 76
160
+
161
+ 4 UIKitCore 0x000000011523e50c -[UIApplication _loadMainInterfaceFile] + 272
162
+
163
+ 5 UIKitCore 0x000000011523cb25 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1357
164
+
165
+ 6 UIKitCore 0x0000000114a5b4e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
166
+
167
+ 7 UIKitCore 0x0000000114a6429c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
168
+
169
+ 8 UIKitCore 0x0000000114a5b126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
170
+
171
+ 9 UIKitCore 0x0000000114a5bae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
172
+
173
+ 10 UIKitCore 0x0000000114a59cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
174
+
175
+ 11 UIKitCore 0x0000000114a5995f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
176
+
177
+ 12 UIKitCore 0x0000000114a5ea90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
178
+
179
+ 13 UIKitCore 0x0000000114a5f80e _performActionsWithDelayForTransitionContext + 100
180
+
181
+ 14 UIKitCore 0x0000000114a5e7ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
182
+
183
+ 15 UIKitCore 0x0000000114a6393a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
184
+
185
+ 16 UIKitCore 0x000000011523b44e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
186
+
187
+ 17 UIKitCore 0x0000000114ddfd09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
188
+
189
+ 18 FrontBoardServices 0x000000011b0dc2da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
190
+
191
+ 19 FrontBoardServices 0x000000011b0e7443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
192
+
193
+ 20 FrontBoardServices 0x000000011b0e6b3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
194
+
195
+ 21 libdispatch.dylib 0x00000001128f2602 _dispatch_client_callout + 8
196
+
197
+ 22 libdispatch.dylib 0x00000001128f5b78 _dispatch_block_invoke_direct + 301
198
+
199
+ 23 FrontBoardServices 0x000000011b11bba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
200
+
201
+ 24 FrontBoardServices 0x000000011b11b860 -[FBSSerialQueue _performNext] + 457
202
+
203
+ 25 FrontBoardServices 0x000000011b11be40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
204
+
205
+ 26 CoreFoundation 0x000000011079d721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
206
+
207
+ 27 CoreFoundation 0x000000011079cf93 __CFRunLoopDoSources0 + 243
208
+
209
+ 28 CoreFoundation 0x000000011079763f __CFRunLoopRun + 1263
210
+
211
+ 29 CoreFoundation 0x0000000110796e11 CFRunLoopRunSpecific + 625
212
+
213
+ 30 GraphicsServices 0x0000000118e451dd GSEventRunModal + 62
214
+
215
+ 31 UIKitCore 0x000000011523e81d UIApplicationMain + 140
216
+
217
+ 32 tabbar 0x000000010e7b8467 main + 71
218
+
219
+ 33 libdyld.dylib 0x0000000112968575 start + 1
220
+
221
+ 34 ??? 0x0000000000000001 0x0 + 1
222
+
223
+ )
224
+
225
+ libc++abi.dylib: terminating with uncaught exception of type NSException
226
+
227
+ (lldb)
102
228
 
103
229
  ```
104
-
105
-
106
-
107
-
108
-
109
- 実現したいことは「Tabman」と言われるモジュールで画面を切り替えるページングメニューバーを作ることです。
110
-
111
- 以下の公式の手順通りに現在開発を進めています。(英語です)
112
-
113
- https://uias.github.io/Tabman/master/index.html
114
-
115
-
116
-
117
- このような実行結果を期待しています。
118
-
119
- ![イメージ説明](5a919d7c31b20f1c617b6b96c1dba86c.png)
120
-
121
-
122
-
123
- 画面構成は自分でview controllersを配置してセグエでTabViewControllerからそれぞれ繋げて構成してみました。
124
-
125
- ![イメージ説明](2fe0fb06d636ef740fa0154efc3a8331.png)
126
-
127
-
128
-
129
- 初歩的・大雑把な質問で申し訳ございません。
130
-
131
- 解決に繋がりそうなアドバイスなどなんでもお待ちしています。
132
-
133
- ぜひご教授願い致しますm(_ _)m
134
-
135
-
136
-
137
- 追記 タブの表示に成功(レイアウトは反映されず)
138
-
139
- ![イメージ説明](ea66995def09ad596fc950b212ee3eba.png)
140
-
141
-
142
-
143
- 8/1 追記 掲載されたプロジェクトを参考に進めましたが、AppDelegateでエラーが発生
144
-
145
- ![イメージ説明](bf8a68f2504962c3c2a4a531f70eed62.png)
146
-
147
-
148
-
149
- 8/3 追記 コンソールのメッセージ
150
-
151
- ```ここに言語を入力
152
-
153
- 2019-08-03 02:12:38.319389+0900 tabbar[63029:2060250] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/tomoya/Library/Developer/CoreSimulator/Devices/A5979362-CDD8-43C7-887C-D00D530C75C1/data/Containers/Bundle/Application/32D75E3C-A0CA-4FB9-9CAA-C2B997081DA6/tabbar.app> (loaded)'
154
-
155
- *** First throw call stack:
156
-
157
- (
158
-
159
- 0 CoreFoundation 0x00000001108381bb __exceptionPreprocess + 331
160
-
161
- 1 libobjc.A.dylib 0x000000010f2ed735 objc_exception_throw + 48
162
-
163
- 2 UIKitCore 0x00000001153df27a +[UIStoryboard storyboardWithName:bundle:] + 676
164
-
165
- 3 UIKitCore 0x000000011523e016 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 76
166
-
167
- 4 UIKitCore 0x000000011523e50c -[UIApplication _loadMainInterfaceFile] + 272
168
-
169
- 5 UIKitCore 0x000000011523cb25 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1357
170
-
171
- 6 UIKitCore 0x0000000114a5b4e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
172
-
173
- 7 UIKitCore 0x0000000114a6429c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
174
-
175
- 8 UIKitCore 0x0000000114a5b126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
176
-
177
- 9 UIKitCore 0x0000000114a5bae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
178
-
179
- 10 UIKitCore 0x0000000114a59cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
180
-
181
- 11 UIKitCore 0x0000000114a5995f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
182
-
183
- 12 UIKitCore 0x0000000114a5ea90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
184
-
185
- 13 UIKitCore 0x0000000114a5f80e _performActionsWithDelayForTransitionContext + 100
186
-
187
- 14 UIKitCore 0x0000000114a5e7ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
188
-
189
- 15 UIKitCore 0x0000000114a6393a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
190
-
191
- 16 UIKitCore 0x000000011523b44e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
192
-
193
- 17 UIKitCore 0x0000000114ddfd09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
194
-
195
- 18 FrontBoardServices 0x000000011b0dc2da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
196
-
197
- 19 FrontBoardServices 0x000000011b0e7443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
198
-
199
- 20 FrontBoardServices 0x000000011b0e6b3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
200
-
201
- 21 libdispatch.dylib 0x00000001128f2602 _dispatch_client_callout + 8
202
-
203
- 22 libdispatch.dylib 0x00000001128f5b78 _dispatch_block_invoke_direct + 301
204
-
205
- 23 FrontBoardServices 0x000000011b11bba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
206
-
207
- 24 FrontBoardServices 0x000000011b11b860 -[FBSSerialQueue _performNext] + 457
208
-
209
- 25 FrontBoardServices 0x000000011b11be40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
210
-
211
- 26 CoreFoundation 0x000000011079d721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
212
-
213
- 27 CoreFoundation 0x000000011079cf93 __CFRunLoopDoSources0 + 243
214
-
215
- 28 CoreFoundation 0x000000011079763f __CFRunLoopRun + 1263
216
-
217
- 29 CoreFoundation 0x0000000110796e11 CFRunLoopRunSpecific + 625
218
-
219
- 30 GraphicsServices 0x0000000118e451dd GSEventRunModal + 62
220
-
221
- 31 UIKitCore 0x000000011523e81d UIApplicationMain + 140
222
-
223
- 32 tabbar 0x000000010e7b8467 main + 71
224
-
225
- 33 libdyld.dylib 0x0000000112968575 start + 1
226
-
227
- 34 ??? 0x0000000000000001 0x0 + 1
228
-
229
- )
230
-
231
- libc++abi.dylib: terminating with uncaught exception of type NSException
232
-
233
- (lldb)
234
-
235
- ```

8

修正

2019/08/02 18:00

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,8 @@
1
+ ```ここに言語を入力
2
+
3
+ コード
4
+
1
- エラー個所
5
+ ```エラー個所
2
6
 
3
7
  ![イメージ説明](93a6be0bc7cefa0640e8cf6e4f15bf2f.png)
4
8
 
@@ -139,3 +143,93 @@
139
143
  8/1 追記 掲載されたプロジェクトを参考に進めましたが、AppDelegateでエラーが発生
140
144
 
141
145
  ![イメージ説明](bf8a68f2504962c3c2a4a531f70eed62.png)
146
+
147
+
148
+
149
+ 8/3 追記 コンソールのメッセージ
150
+
151
+ ```ここに言語を入力
152
+
153
+ 2019-08-03 02:12:38.319389+0900 tabbar[63029:2060250] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/tomoya/Library/Developer/CoreSimulator/Devices/A5979362-CDD8-43C7-887C-D00D530C75C1/data/Containers/Bundle/Application/32D75E3C-A0CA-4FB9-9CAA-C2B997081DA6/tabbar.app> (loaded)'
154
+
155
+ *** First throw call stack:
156
+
157
+ (
158
+
159
+ 0 CoreFoundation 0x00000001108381bb __exceptionPreprocess + 331
160
+
161
+ 1 libobjc.A.dylib 0x000000010f2ed735 objc_exception_throw + 48
162
+
163
+ 2 UIKitCore 0x00000001153df27a +[UIStoryboard storyboardWithName:bundle:] + 676
164
+
165
+ 3 UIKitCore 0x000000011523e016 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 76
166
+
167
+ 4 UIKitCore 0x000000011523e50c -[UIApplication _loadMainInterfaceFile] + 272
168
+
169
+ 5 UIKitCore 0x000000011523cb25 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1357
170
+
171
+ 6 UIKitCore 0x0000000114a5b4e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
172
+
173
+ 7 UIKitCore 0x0000000114a6429c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
174
+
175
+ 8 UIKitCore 0x0000000114a5b126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
176
+
177
+ 9 UIKitCore 0x0000000114a5bae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
178
+
179
+ 10 UIKitCore 0x0000000114a59cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
180
+
181
+ 11 UIKitCore 0x0000000114a5995f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
182
+
183
+ 12 UIKitCore 0x0000000114a5ea90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
184
+
185
+ 13 UIKitCore 0x0000000114a5f80e _performActionsWithDelayForTransitionContext + 100
186
+
187
+ 14 UIKitCore 0x0000000114a5e7ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
188
+
189
+ 15 UIKitCore 0x0000000114a6393a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
190
+
191
+ 16 UIKitCore 0x000000011523b44e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
192
+
193
+ 17 UIKitCore 0x0000000114ddfd09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
194
+
195
+ 18 FrontBoardServices 0x000000011b0dc2da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
196
+
197
+ 19 FrontBoardServices 0x000000011b0e7443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
198
+
199
+ 20 FrontBoardServices 0x000000011b0e6b3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
200
+
201
+ 21 libdispatch.dylib 0x00000001128f2602 _dispatch_client_callout + 8
202
+
203
+ 22 libdispatch.dylib 0x00000001128f5b78 _dispatch_block_invoke_direct + 301
204
+
205
+ 23 FrontBoardServices 0x000000011b11bba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
206
+
207
+ 24 FrontBoardServices 0x000000011b11b860 -[FBSSerialQueue _performNext] + 457
208
+
209
+ 25 FrontBoardServices 0x000000011b11be40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
210
+
211
+ 26 CoreFoundation 0x000000011079d721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
212
+
213
+ 27 CoreFoundation 0x000000011079cf93 __CFRunLoopDoSources0 + 243
214
+
215
+ 28 CoreFoundation 0x000000011079763f __CFRunLoopRun + 1263
216
+
217
+ 29 CoreFoundation 0x0000000110796e11 CFRunLoopRunSpecific + 625
218
+
219
+ 30 GraphicsServices 0x0000000118e451dd GSEventRunModal + 62
220
+
221
+ 31 UIKitCore 0x000000011523e81d UIApplicationMain + 140
222
+
223
+ 32 tabbar 0x000000010e7b8467 main + 71
224
+
225
+ 33 libdyld.dylib 0x0000000112968575 start + 1
226
+
227
+ 34 ??? 0x0000000000000001 0x0 + 1
228
+
229
+ )
230
+
231
+ libc++abi.dylib: terminating with uncaught exception of type NSException
232
+
233
+ (lldb)
234
+
235
+ ```

7

修正

2019/08/02 17:36

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -133,3 +133,9 @@
133
133
  追記 タブの表示に成功(レイアウトは反映されず)
134
134
 
135
135
  ![イメージ説明](ea66995def09ad596fc950b212ee3eba.png)
136
+
137
+
138
+
139
+ 8/1 追記 掲載されたプロジェクトを参考に進めましたが、AppDelegateでエラーが発生
140
+
141
+ ![イメージ説明](bf8a68f2504962c3c2a4a531f70eed62.png)

6

修正

2019/08/01 14:32

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -127,3 +127,9 @@
127
127
  解決に繋がりそうなアドバイスなどなんでもお待ちしています。
128
128
 
129
129
  ぜひご教授願い致しますm(_ _)m
130
+
131
+
132
+
133
+ 追記 タブの表示に成功(レイアウトは反映されず)
134
+
135
+ ![イメージ説明](ea66995def09ad596fc950b212ee3eba.png)

5

修正

2019/08/01 05:30

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -102,7 +102,7 @@
102
102
 
103
103
 
104
104
 
105
- 実現したいことは「Tabman」と言われるモジュールで画面を切り替えるメニューバーを作ることです。
105
+ 実現したいことは「Tabman」と言われるモジュールで画面を切り替えるページングメニューバーを作ることです。
106
106
 
107
107
  以下の公式の手順通りに現在開発を進めています。(英語です)
108
108
 

4

修正

2019/07/26 11:35

投稿

samson66
samson66

スコア35

test CHANGED
@@ -1 +1 @@
1
- Xcode Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラーの原因がわかりません。
1
+ Xcode Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラーの解決法がわかりません。
test CHANGED
File without changes

3

修正

2019/07/26 11:33

投稿

samson66
samson66

スコア35

test CHANGED
File without changes
test CHANGED
@@ -110,6 +110,12 @@
110
110
 
111
111
 
112
112
 
113
+ このような実行結果を期待しています。
114
+
115
+ ![イメージ説明](5a919d7c31b20f1c617b6b96c1dba86c.png)
116
+
117
+
118
+
113
119
  画面構成は自分でview controllersを配置してセグエでTabViewControllerからそれぞれ繋げて構成してみました。
114
120
 
115
121
  ![イメージ説明](2fe0fb06d636ef740fa0154efc3a8331.png)

2

修正

2019/07/26 11:13

投稿

samson66
samson66

スコア35

test CHANGED
@@ -1 +1 @@
1
- Swift4.0 Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラーの原因がわかりません。
1
+ Xcode Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラーの原因がわかりません。
test CHANGED
File without changes

1

修正

2019/07/26 11:08

投稿

samson66
samson66

スコア35

test CHANGED
@@ -1 +1 @@
1
- Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラーの原因がわかりません。
1
+ Swift4.0 Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)というエラーの原因がわかりません。
test CHANGED
File without changes