Задать вопрос
SnapSh0t
@SnapSh0t
iOS-Developer

В чем ошибка при переходе по Segue Swift 3?

Здравствуйте!

При переходе по Segue - вылетает критическая ошибка и приложение крашится. Если же убрать этот переход, то работает все идеально, так же после краша и повторного запуска приложения видим добавленную запись. Уже очень много времени пытаюсь решить эту проблему, но все безуспешно, очень прошу помощи. Спасибо!
f19e213127b442f1b33d94075f5b73ff.png83b3c0446fe54625a81ba76dbc651c07.png37bd575908f344f5b0065c7bd6d7f9eb.pnge54ad5d49732466a865ed63aca93fecf.png
Ошибка:
2017-05-16 01:07:17.073451+0700 GreenWorld[48657:4501081] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/AleksandrGovorukhin/Library/Developer/CoreSimulator/Devices/64DCD486-2611-45A6-ABC2-5CBC49263169/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-05-16 01:07:17.074643+0700 GreenWorld[48657:4501081] [MC] Reading from private effective user settings.
2017-05-16 01:07:18.984 GreenWorld[48657:4501081] Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 1144316255_PortraitChoco_iPhone-Simple-Pad_Default
2017-05-16 01:07:23.917219+0700 GreenWorld[48657:4501143] 0x60800035b960 Copy matching assets reply: XPC_TYPE_DICTIONARY { count = 1, transaction: 0, voucher = 0x0, contents =
"Result" => : 29
}
2017-05-16 01:07:23.919678+0700 GreenWorld[48657:4501143] 0x600000151a90 Daemon configuration query reply: XPC_TYPE_DICTIONARY { count = 2, transaction: 0, voucher = 0x0, contents =
"Dictionary" => { count = 1, transaction: 0, voucher = 0x0, contents =
"ServerURL" => { count = 3, transaction: 0, voucher = 0x0, contents =
"com.apple.CFURL.magic" => C3853DCC-9776-4114-B6C1-FD9F51944A6D
"com.apple.CFURL.string" => { length = 30, contents = "https://mesu.apple.com/assets/" }
"com.apple.CFURL.base" => : null-object
}
}
"Result" => : 0
}
2017-05-16 01:07:23.921490+0700 GreenWorld[48657:4501143] [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker
2017-05-16 01:07:24.821 GreenWorld[48657:4501081] Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 1144316255_PortraitChoco_iPhone-Simple-Pad_Default
2017-05-16 01:07:28.439 GreenWorld[48657:4501081] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver () has no segue with identifier 'backToHomeScreen''
*** First throw call stack:
(
0 CoreFoundation 0x00000001079fbb0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000104103141 objc_exception_throw + 48
2 UIKit 0x0000000105a33ba3 -[UIViewController shouldPerformSegueWithIdentifier:sender:] + 0
3 GreenWorld 0x0000000103aec7da _TFC10GreenWorld29AddNewShipTableViewController11saveNewShipfT_T_ + 16042
4 GreenWorld 0x0000000103aecee2 _TToFC10GreenWorld29AddNewShipTableViewController11saveNewShipfT_T_ + 34
5 UIKit 0x000000010588fd22 -[UIApplication sendAction:to:from:forEvent:] + 83
6 UIKit 0x0000000105cca5c7 -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 149
7 UIKit 0x000000010588fd22 -[UIApplication sendAction:to:from:forEvent:] + 83
8 UIKit 0x0000000105a1425c -[UIControl sendAction:to:forEvent:] + 67
9 UIKit 0x0000000105a14577 -[UIControl _sendActionsForEvents:withEvent:] + 450
10 UIKit 0x0000000105a146eb -[UIControl _sendActionsForEvents:withEvent:] + 822
11 UIKit 0x0000000105a134b2 -[UIControl touchesEnded:withEvent:] + 618
12 UIKit 0x00000001058fd49a -[UIWindow _sendTouchesForEvent:] + 2707
13 UIKit 0x00000001058febb0 -[UIWindow sendEvent:] + 4114
14 UIKit 0x00000001058ab7b0 -[UIApplication sendEvent:] + 352
15 UIKit 0x000000010608eadc __dispatchPreprocessedEventFromEventQueue + 2926
16 UIKit 0x0000000106086a3a __handleEventQueue + 1122
17 CoreFoundation 0x00000001079a1c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18 CoreFoundation 0x00000001079870cf __CFRunLoopDoSources0 + 527
19 CoreFoundation 0x00000001079865ff __CFRunLoopRun + 911
20 CoreFoundation 0x0000000107986016 CFRunLoopRunSpecific + 406
21 GraphicsServices 0x000000010a82ba24 GSEventRunModal + 62
22 UIKit 0x000000010588e0d4 UIApplicationMain + 159
23 GreenWorld 0x0000000103af44c7 main + 55
24 libdyld.dylib 0x000000010899b65d start + 1
25 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
  • Вопрос задан
  • 469 просмотров
Подписаться 2 Оценить Комментировать
Решения вопроса 1
SnapSh0t
@SnapSh0t Автор вопроса
iOS-Developer
c06a5f2733ef4914b83ea282ad3b1ae2.png4f36981eea7a4c15a236d4235399b353.png
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы