Swift 代码8.2.1。创建存档时崩溃 崩溃线程:0调度队列:com.apple.main-Thread 异常类型:EXC_崩溃(SIGABRT) 异常代码:0x0000000000,0x0000000000000000 例外说明:EXC_尸体通知 特定于应用程序
代码8.2.1。创建存档时崩溃Swift 代码8.2.1。创建存档时崩溃 崩溃线程:0调度队列:com.apple.main-Thread 异常类型:EXC_崩溃(SIGABRT) 异常代码:0x0000000000,0x0000000000000000 例外说明:EXC_尸体通知 特定于应用程序,swift,xcode8,archive,Swift,Xcode8,Archive,代码8.2.1。创建存档时崩溃 崩溃线程:0调度队列:com.apple.main-Thread 异常类型:EXC_崩溃(SIGABRT) 异常代码:0x0000000000,0x0000000000000000 例外说明:EXC_尸体通知 特定于应用程序的信息: 主队列:_42-[IDEArchiveManager\u revealArchiveAtPath:][u block\u invoke ProductBuildVersion:8C1002 /Library/Caches/com.ap
崩溃线程:0调度队列:com.apple.main-Thread
异常类型:EXC_崩溃(SIGABRT)
异常代码:0x0000000000,0x0000000000000000
例外说明:EXC_尸体通知
特定于应用程序的信息:
主队列:_42-[IDEArchiveManager\u revealArchiveAtPath:][u block\u invoke
ProductBuildVersion:8C1002
/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11766.1/IDEProducts/DVTProducts/DVTProducts/DVTProducts/DVTProductVersion.m:45中的断言失败
详细信息:版本应为非空字符串,但它是空字符串
对象:
方法:-initWithBundleIdentifier:版本:buildNumber:名称:childProducts:productCategory:
线程:{number=1,name=main}
提示:无
回溯:
0-[IDEAssertionHandler handleFailureInMethod:对象:文件名:行号:断言签名:messageFormat:参数:](在IDEKit中)
1_DVTAssertionHandler(位于DVT地基中)
2_DVTAssertionFailureHandler(位于DVT地基中)
3-[DVTProductVersion initWithBundleIdentifier:version:buildNumber:name:childProducts:productCategory:(在DVTProducts中)
4+[DVTProductVersion productVersionFromArchive:withError:](在DVTProducts中)
5-[DVTArchiveProductSource\U PRODUCTS档案:协调人:](在DVTProducts中)
6 uu 58-[DVTArchiveProductSource UPDATEARCHIVESDLAYEDINATION]u块u调用(在DVTProducts中)
7-[DVTDelayedin职业运行块:](在DVT基础中)
8-[DVTDelayedInvokeIfNeed](在DVTFoundation中)
9-[DVTArchiveProductSource refreshProducts](在DVTProducts中)
10+[IDEArchivesViewController revealArchive:](在IDEProductsUI中)
11+[IDEArchivesViewController revealArchiveNotification:](在IDEProductsUI中)
12.通知中心正在召集观察员(在CoreFoundation中)
13 uuuu CFXRegistrationPost_block_调用(在CoreFoundation中)
14_CFXRegistrationPost(在CoreFoundation中)
15 uuuuuuuxNotificationPost_block_调用(在CoreFoundation中)
16-[\u cfxNotificationRegistrator查找:对象:观察者:枚举器:](在CoreFoundation中)
17_CFXNotificationPost(在CoreFoundation中)
18-[NSNotificationCenter postNotificationName:object:userInfo:(在基础中)
19-[NSNotificationCenter(DVTNNotificationCenter添加)\U dvt\U postNotificationName:object:userInfo:(在DVTFoundation中)
20 uu42-[IDEArchiveManager revealArchiveAtPath:][uBlock_invoke_2(在IDEFoundation中)
21 uuuu DVTAsyncPerformBlockOnMainRunLoop_uBLOCK_u调用(在DVTFoundation中)
22 \uuu CFRUNLOOP \u正在调用\u OUT \u到\u块\uuuu(在CoreFoundation中)
23 uu CFRunLoopDoBlocks(在CoreFoundation中)
24 uu CFRunLoopRun(在CoreFoundation中)
25立方英尺特定运行(在CoreFoundation中)
26 RunCurrentEventLoopInMode(在HIToolbox中)
27 ReceiveNextEventCommon(在HIToolbox中)
28 _blockuntinexteventmatchinglistinmodewithfilter(在HIToolbox中)
29_dpsnextent(在AppKit中)
30-[n应用程序_nexteventmachingeventmask:untilDate:inMode:dequeue:](在应用工具包中)
31-[DVTApplication-NextEventMachingMask:untilDate:inMode:dequeue:](在DVTKit中)
32-[N应用程序运行](在AppKit中)
33 NSApplicationMain(在应用工具包中)
34开始(在libdyld.dylib中)
调用了abort()
特定于应用程序的签名:
![(版本)isEqualToString:@”“]
详细信息:版本应该是非空字符串,但它是空字符串
。检查应用程序的版本,我认为它是空的。检查应用程序的版本它不是空的。这是设定的,所以是构建编号。
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
MainQueue: __42-[IDEArchiveManager _revealArchiveAtPath:]_block_invoke
ProductBuildVersion: 8C1002
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11766.1/IDEProducts/DVTProducts/DVTProducts/DVTProducts/DVTProductVersion.m:45
Details: version should be a non-empty string, but it's an empty string
Object: <DVTProductVersion: 0x7fe179e7d480>
Method: -initWithBundleIdentifier:version:buildNumber:name:childProducts:productCategory:
Thread: <NSThread: 0x7fe173c18450>{number = 1, name = main}
Hints: None
Backtrace:
0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 -[DVTProductVersion initWithBundleIdentifier:version:buildNumber:name:childProducts:productCategory:] (in DVTProducts)
4 +[DVTProductVersion productVersionFromArchive:withError:] (in DVTProducts)
5 -[DVTArchiveProductSource _productsFromArchives:coordinator:] (in DVTProducts)
6 __58-[DVTArchiveProductSource updateArchivesDelayedInvocation]_block_invoke (in DVTProducts)
7 -[DVTDelayedInvocation runBlock:] (in DVTFoundation)
8 -[DVTDelayedInvocation invokeIfNeeded] (in DVTFoundation)
9 -[DVTArchiveProductSource refreshProducts] (in DVTProducts)
10 +[IDEArchivesViewController revealArchive:] (in IDEProductsUI)
11 +[IDEArchivesViewController revealArchiveNotification:] (in IDEProductsUI)
12 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
13 ___CFXRegistrationPost_block_invoke (in CoreFoundation)
14 _CFXRegistrationPost (in CoreFoundation)
15 ___CFXNotificationPost_block_invoke (in CoreFoundation)
16 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)
17 _CFXNotificationPost (in CoreFoundation)
18 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
19 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
20 __42-[IDEArchiveManager _revealArchiveAtPath:]_block_invoke_2 (in IDEFoundation)
21 ___DVTAsyncPerformBlockOnMainRunLoop_block_invoke (in DVTFoundation)
22 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
23 __CFRunLoopDoBlocks (in CoreFoundation)
24 __CFRunLoopRun (in CoreFoundation)
25 CFRunLoopRunSpecific (in CoreFoundation)
26 RunCurrentEventLoopInMode (in HIToolbox)
27 ReceiveNextEventCommon (in HIToolbox)
28 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
29 _DPSNextEvent (in AppKit)
30 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
32 -[NSApplication run] (in AppKit)
33 NSApplicationMain (in AppKit)
34 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
![(version) isEqualToString:@""]