在发布模式下启动时,iOS App崩溃,而在调试模式下启动时,iOS App崩溃

时间:2018-06-26 16:20:34

标签: ios xcode crash

当尝试不使用Xcode启动我的应用程序时,该应用程序在打开特定的ViewController时崩溃。我已经检查了设备日志,但是我无法弄清楚到底是什么引起了问题。

Incident Identifier: 20BC06E7-31B0-4C0D-B563-9D28FCE7A51D
CrashReporter Key:   17799fa3afc4ff5354281302e5f0d5909740c60b
Hardware Model:      iPhone9,3
Process:             Wizy [7883]
Path:                /private/var/containers/Bundle/Application/8471B027-87B4-408C-802D-526BC2B73E8A/Wizy.app/Wizy
Identifier:          Wizypay.Wizy
Version:             3 (1.0.1)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           Wizypay.Wizy [3810]


Date/Time:           2018-06-26 17:53:40.5443 +0200
Launch Time:         2018-06-26 17:53:37.7096 +0200
OS Version:          iPhone OS 11.4 (15F79)
Baseband Version:    2.03.12
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Application Specific Information:
abort() called

Filtered syslog:
None found

Last Exception Backtrace:
0   CoreFoundation                  0x1831aad8c __exceptionPreprocess + 228
1   libobjc.A.dylib                 0x1823645ec objc_exception_throw + 55
2   CoreFoundation                  0x1831aac6c +[NSException raise:format:] + 115
3   UIKit                           0x18d58b5fc UINibDecoderDecodeObjectForValue + 371
4   UIKit                           0x18d58b8b0 UINibDecoderDecodeObjectForValue + 1063
5   UIKit                           0x18d58b470 -[UINibDecoder decodeObjectForKey:] + 311
6   UIKit                           0x18d1e5be4 -[UIView initWithCoder:] + 647
7   UIKit                           0x18d58b738 UINibDecoderDecodeObjectForValue + 687
8   UIKit                           0x18d58b470 -[UINibDecoder decodeObjectForKey:] + 311
9   UIKit                           0x18d429c94 -[UIRuntimeConnection initWithCoder:] + 187
10  UIKit                           0x18d58b738 UINibDecoderDecodeObjectForValue + 687
11  UIKit                           0x18d58b8b0 UINibDecoderDecodeObjectForValue + 1063
12  UIKit                           0x18d58b470 -[UINibDecoder decodeObjectForKey:] + 311
13  UIKit                           0x18d428fe4 -[UINib instantiateWithOwner:options:] + 1163
14  UIKit                           0x18d25aaa8 -[UIViewController _loadViewFromNibNamed:bundle:] + 371
15  UIKit                           0x18ce9e074 -[UIViewController loadView] + 175
16  UIKit                           0x18cdc2b14 -[UIViewController loadViewIfRequired] + 171
17  UIKit                           0x18cdc2a50 -[UIViewController view] + 27
18  UIKit                           0x18d96c0f4 __67-[UIStoryboardEmbedSegueTemplate newDefaultPerformHandlerForSegue:]_block_invoke + 175
19  UIKit                           0x18d742af4 -[UIStoryboardSegueTemplate _performWithDestinationViewController:sender:] + 291
20  UIKit                           0x18d7429a0 -[UIStoryboardSegueTemplate _perform:] + 91
21  UIKit                           0x18d742c6c -[UIStoryboardSegueTemplate perform:] + 159
22  UIKit                           0x18cdc2cb4 -[UIViewController loadViewIfRequired] + 587
23  UIKit                           0x18cdc2a50 -[UIViewController view] + 27
24  UIKit                           0x18ce44620 -[UINavigationController preferredContentSize] + 167
25  UIKit                           0x18d006f10 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:] + 67
26  UIKit                           0x18d23ede4 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 139
27  UIKit                           0x18d19e884 _runAfterCACommitDeferredBlocks + 295
28  UIKit                           0x18d194958 _cleanUpAfterCAFlushAndRunDeferredBlocks + 383
29  UIKit                           0x18d07951c _afterCACommitHandler + 131
30  CoreFoundation                  0x183152910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 31
31  CoreFoundation                  0x183150238 __CFRunLoopDoObservers + 411
32  CoreFoundation                  0x183150884 __CFRunLoopRun + 1435
33  CoreFoundation                  0x183070da8 CFRunLoopRunSpecific + 551
34  GraphicsServices                0x185055020 GSEventRunModal + 99
35  UIKit                           0x18d08d758 UIApplicationMain + 235
36  Wizy                            0x100a45d70 0x1009e4000 + 400752
37  libdyld.dylib                   0x182b01fc0 start + 3

我尝试在构建设置中更改优化级别,因为有人建议这样做,但是没有运气。

我希望有人可以帮助我,我承受着时间上的压力! 预先感谢!

0 个答案:

没有答案