【发布时间】:2015-03-01 21:06:16
【问题描述】:
我只是想开始优化我的应用程序并通过 Instruments 启动它。但无论我使用哪种工具,我的应用都会在启动时立即崩溃。
当我正常运行我的应用程序时,它没有显示任何问题。此外,几天/几周前我用 Instruments 运行它,没有问题。但今天它甚至不会开始。
仪器显示以下内容(从简短的开始)
Total Samples Running Time Self Symbol Name
322 322.0ms 92.0% 0,0 Main Thread 0x1734
256 256.0ms 73.1% 0,0 start
64 64.0ms 18.2% 0,0 _dyld_start
2 2.0ms 0.5% 2,0 objc_opt::objc_stringhash_t::hash(char const*, unsigned long) const
9 9.0ms 2.5% 0,0 _dispatch_mgr_thread 0x1752
7 7.0ms 2.0% 0,0 _dispatch_worker_thread3 0x1756
5 5.0ms 1.4% 0,0 _dispatch_worker_thread3 0x1755
4 4.0ms 1.1% 0,0 start_wqthread 0x1754
2 2.0ms 0.5% 0,0 _dispatch_worker_thread3 0x1753
在这里,我想展示应用程序崩溃的一部分(尽管可能没用),但它甚至无法启动我的应用程序。啊啊啊啊啊啊
等等 - 控制台日志!
01.03.15 21:57:33,149 Xcode[1831]: DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details: Failed to load dependencies output contents from ``/Users/thomaskilian/Library/Developer/Xcode/DerivedData/CaLister-evdxmqajatsxzqeosqkzlmfglmva/Build/Intermediates/CaLister.build/Debug/CaLister.build/Objects-normal/x86_64/ShiftedCell.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “ShiftedCell.d” couldn’t be opened because there is no such file." UserInfo=0x7ffc7f4732c0 {NSFilePath=/Users/thomaskilian/Library/Developer/Xcode/DerivedData/CaLister-evdxmqajatsxzqeosqkzlmfglmva/Build/Intermediates/CaLister.build/Debug/CaLister.build/Objects-normal/x86_64/ShiftedCell.d, NSUnderlyingError=0x7ffc7f4741b0 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/thomaskilian/Library/Developer/Xcode/DerivedData/CaLister-evdxmqajatsxzqeosqkzlmfglmva/Build/Intermediates/CaLister.build/Debug/CaLister.build/Objects-normal/x86_64/ShiftedCell.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: <NSThread: 0x7ffc7b799b60>{number = 2, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
-> 看看我自己的答案
【问题讨论】: