ios – 使用Xcode 6.2更新,在工作区中查找崩溃
发布时间:2020-12-15 01:41:00 所属栏目:百科 来源:网络整理
导读:在将Xcode更新到6.2(6C131e)之后,在“UNACUGHT EXCEPTION(NSInternalInconsistencyException):”找不到工作区中查找“崩溃:找不到名为UIImage的类.我试过“清理构建文件夹”无效.还有其他Xcode缓存或索引,我应该尝试重置? Process: Xcode [21278]Path: /A
在将Xcode更新到6.2(6C131e)之后,在“UNACUGHT EXCEPTION(NSInternalInconsistencyException):”找不到工作区中查找“崩溃:找不到名为UIImage的类.我试过“清理构建文件夹”无效.还有其他Xcode缓存或索引,我应该尝试重置?
Process: Xcode [21278] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 6.2 (6776) Build Info: IDEFrameworks-6776000000000000~11 App Item ID: 497799835 App External ID: 811890240 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [21278] User ID: 501 Date/Time: 2015-03-15 19:53:43.364 -0700 OS Version: Mac OS X 10.10.2 (14C1510) Report Version: 11 Anonymous UUID: 539D7F12-9E6C-9CC5-F6D9-1FDBD16DF85D Sleep/Wake UUID: B9E7A3DF-5CB3-4194-82BA-4445905D6A2D Time Awake Since Boot: 120000 seconds Time Since Wake: 340 seconds Crashed Thread: 21 Dispatch queue: IDEBatchFindReplace_ConcurrentQueue :: NSOperation 0x7fdb7f20c550 (QOS: USER_INITIATED) Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000,0x0000000000000000 Application Specific Information: ProductBuildVersion: 6C131e UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Could not find class named UIImage UserInfo: (null) Hints: None Backtrace: 0 0x00007fff94143654 __exceptionPreprocess (in CoreFoundation) 1 0x0000000106601764 DVTFailureHintExceptionPreprocessor (in DVTFoundation) 2 0x00007fff9546176e objc_exception_throw (in libobjc.A.dylib) 3 0x00007fff9414344a +[NSException raise:format:arguments:] (in CoreFoundation) 4 0x00007fff928273a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation) 5 0x000000010d4bdf21 -[IBBinaryUnarchiver decodeObject] (in IBFoundation) 6 0x000000010d53ac3e +[IBUserDefinedRuntimeAttribute decodeWithBinaryUnarchiver:] (in IBFoundation) 7 0x000000010d4bdf47 -[IBBinaryUnarchiver decodeObject] (in IBFoundation) 8 0x000000010d4b93a0 -[NSDictionary(IBBinaryArchivingAdditions) initWithBinaryUnarchiver:] (in IBFoundation) 9 0x000000010d4b8411 +[NSObject(IBBinaryArchivingAdditions) decodeWithBinaryUnarchiver:] (in IBFoundation) 10 0x000000010d4bdf47 -[IBBinaryUnarchiver decodeObject] (in IBFoundation) 11 0x000000010d4bd017 +[IBBinaryUnarchiver unarchiveObjectWithData:context:minArchiveVersion:] (in IBFoundation) 12 0x00000001112c2aeb -[IBAttributeSearchLocation initWithPropertyList:owner:] (in IDEInterfaceBuilderKit) 13 0x00000001113faff8 -[IBSearchableAttributeDescription initWithPropertyList:owner:] (in IDEInterfaceBuilderKit) 14 0x00000001113fa3eb __64-[IBDocumentMemberSearchDescription initWithPropertyList:owner:]_block_invoke (in IDEInterfaceBuilderKit) 15 0x000000010d4c8be9 IBArrayByMappingCollectionWithBehavior (in IBFoundation) 16 0x00000001113fa2f6 -[IBDocumentMemberSearchDescription initWithPropertyList:owner:] (in IDEInterfaceBuilderKit) 17 0x00000001113f99cc __58-[IBDocumentSearchDescription initWithPropertyList:owner:]_block_invoke (in IDEInterfaceBuilderKit) 18 0x000000010d4c8be9 IBArrayByMappingCollectionWithBehavior (in IBFoundation) 19 0x00000001113f9923 -[IBDocumentSearchDescription initWithPropertyList:owner:] (in IDEInterfaceBuilderKit) 20 0x000000011161240e -[IBTextIndexDataProvider findableForFilePath:] (in IDEInterfaceBuilderKit) 21 0x00000001070f5abf -[IDETextIndex _computeFindableForFilePath:withDataProvider:] (in IDEFoundation) 22 0x00000001070f7e27 -[IDETextIndexTextFindableWrapper findStringMatchingDescriptor:backwards:from:to:] (in IDEFoundation) 23 0x00000001064c703a -[DVTTextFinder _findNext] (in DVTFoundation) 24 0x00000001064c6f36 -[DVTTextFinder findBeforeDate:] (in DVTFoundation) 25 0x0000000107adb62a -[IDEBatchDocumentFindable performFind] (in IDEKit) 26 0x00007fff9273c32c -[__NSOperationInternal _start:] (in Foundation) 27 0x00007fff9273bf33 __NSOQSchedule_f (in Foundation) 28 0x00007fff9670dc13 _dispatch_client_callout (in libdispatch.dylib) 29 0x00007fff96711365 _dispatch_queue_drain (in libdispatch.dylib) 30 0x00007fff96712ecc _dispatch_queue_invoke (in libdispatch.dylib) 31 0x00007fff967106b7 _dispatch_root_queue_drain (in libdispatch.dylib) 32 0x00007fff9671efe4 _dispatch_worker_thread3 (in libdispatch.dylib) 33 0x00007fff90950637 _pthread_wqthread (in libsystem_pthread.dylib) 34 0x00007fff9094e40d start_wqthread (in libsystem_pthread.dylib) 解决方法
它是xcode中的一个错误,当您在Xcode 6.2中搜索字符串时,会发生这种情况,并且搜索查找作为Workspace一部分的故事板中的实例.
在我们这个例子中解决的是打开,保存&关闭所有的故事板. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |