XCode Instruments让我的应用程序崩溃

时间:2015-03-01 21:06:16

标签: xcode-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

在这里,我想展示应用程序崩溃的一部分(尽管可能没用),但它甚至无法启动我的应用程序。 Aaaarrrggghhhhh

等等 - 控制台日志!

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.

- &GT;看我自己的答案

1 个答案:

答案 0 :(得分:-1)

事实证明,Instruments是正在进行的Alpha研究的一部分,名为Swift,苹果目前正在开发他们的开发人员,开发人员,开发人员等。谢谢你,Apple!