0
코드 "Thread 1 : Signal SIGABRT Error"가 나타납니다. try/catch 블록에 코드를 삽입하고, 프로젝트를 정리하고, 다시 빌드하고, 스토리 보드에서 내 연결을 확인해 보았습니다. 그래도 여기서 해결 된 사항을 얻을 수 있습니다. 다른 코드 프로젝트에 코드를 다시로드하려고했습니다. 여기 iOS 스레드 1 신호 SIGABRT 오류
는 main.m 파일의 소스 코드 :#import <UIKit/UIKit.h>
#import "SFAppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
@try {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([SFAppDelegate class]));
}
@catch (NSException *e) {
NSLog(@"CRASH: %@", e);
NSLog(@"Stack Trace: %@", [e callStackSymbols]);
}
}
}
오류 코드의이 라인에 게재되어
return UIApplicationMain(argc, argv, nil, NSStringFromClass([SFAppDelegate class]));
다음과 같은 오류가 표시되어 Xcode의 콘솔 :
*** First throw call stack:
(
0 CoreFoundation 0x000000010a032d4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010967321e objc_exception_throw + 48
2 CoreFoundation 0x000000010a0a2f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x0000000109fb8005 ___forwarding___ + 1013
4 CoreFoundation 0x0000000109fb7b88 _CF_forwarding_prep_0 + 120
5 ExApp 0x00000001060f954b -[Exercise getQuizResponseUrl] + 43
6 ExApp 0x0000000106117550 -[SFPreviewVideoView configureWithThumbnailProvider:duration:videoURLString:] + 816
7 ExApp 0x00000001061171bd -[SFPreviewVideoView configureWithThumbnailProvider:videoURLString:duration:delegate:] + 157
8 ExApp 0x00000001060cab6d -[SFQuestionsViewController tableView:cellForRowAtIndexPath:] + 1869
9 UIKit 0x0000000107a7e584 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 757
10 UIKit 0x0000000107a7e7e2 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 74
11 UIKit 0x0000000107a522b0 -[UITableView _updateVisibleCellsNow:isRecursive:] + 3295
12 UIKit 0x0000000107a87b64 -[UITableView _performWithCachedTraitCollection:] + 110
13 UIKit 0x0000000107a6e3be -[UITableView layoutSubviews] + 222
14 UIKit 0x00000001079d5ab8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1237
15 QuartzCore 0x0000000107602bf8 -[CALayer layoutSublayers] + 146
16 QuartzCore 0x00000001075f6440 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
17 UIKit 0x00000001079c3928 -[UIView(Hierarchy) layoutBelowIfNeeded] + 1509
18 ExApp 0x00000001060dd0b3 -[SFBrandingTableFooterView updateBrandingView:forTableView:updatelayout:] + 147
19 ExApp 0x00000001060dcd5e -[SFBrandingTableFooterView showBrandingFooterViewAndUpdateLayout:animated:] + 446
20 ExApp 0x00000001060ca0a4 __46-[SFQuestionsViewController refreshDataSource]_block_invoke.147 + 964
21 ExApp 0x00000001060d3c79 __41-[SFBrain requestObject:completionBlock:]_block_invoke_3 + 105
22 libdispatch.dylib 0x000000010b508978 _dispatch_call_block_and_release + 12
23 libdispatch.dylib 0x000000010b5320cd _dispatch_client_callout + 8
24 libdispatch.dylib 0x000000010b5128a4 _dispatch_main_queue_callback_4CF + 406
25 CoreFoundation 0x0000000109ff6e49 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
26 CoreFoundation 0x0000000109fbc37d __CFRunLoopRun + 2205
27 CoreFoundation 0x0000000109fbb884 CFRunLoopRunSpecific + 420
28 GraphicsServices 0x000000010dfbfa6f GSEventRunModal + 161
29 UIKit 0x0000000107910c68 UIApplicationMain + 159
30 ExApp 0x00000001060c532e main + 142
31 libdyld.dylib 0x000000010b57e68d start + 1
32 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
여기의 도움을 주시면 감사하겠습니다.
표시 할 코드에 아무런 문제가 없으며 콘솔 오류도 일치하지 않습니다. –
'First throw Call Stack'의 다른 라인 ontop을 보시겠습니까? – Munib
여기에 있습니다 : – user268397