
请注意,我在三台不同的机器上获得相同的结果,2只狮子,1只雪豹.
示例命令行:
/Developer/Platforms/iPhoneOS.platform/Developer/library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash/Users/mike/Downloads/mycrash-iPad.crash
还要注意,当我将文件拖动到XCode 4.2日志管理器窗口的日志部分并等待XCode对文件进行符号时,我得到相同的结果.
以下是我的代码中部分符号符号的崩溃示例:
Last Exception Backtrace:0 CoreFoundation 0x33dae8bf 0x33cf5000 + 7599991 libobjc.A.dylib 0x354ca1e5 0x354c1000 + 373492 CoreFoundation 0x33dae7b9 0x33cf5000 + 7597373 CoreFoundation 0x33dae7db 0x33cf5000 + 7597714 CoreFoundation 0x33d1b6bb 0x33cf5000 + 1573715 myZenfolio 0x001a551d -[GtDataSourceManager setDataSource:forKey:] (GtDataSource.m:59)6 myZenfolio 0x0004c793 -[ZfUserAccountVIEwController doUpdateDataSourceManager:] (ZfUserAccountVIEwController.m:202)7 myZenfolio 0x0022f853 -[GtEditObjectVIEwController tableVIEwWillReloadData:] (GtEditObjectVIEwController.m:803)8 CoreFoundation 0x33d0d22b 0x33cf5000 + 988599 myZenfolio 0x002557b9 -[GttableVIEw reloadData] (GttableVIEw.m:48)10 myZenfolio 0x0004c36d -[ZfUserAccountVIEwController _updateFromCache] (ZfUserAccountVIEwController.m:160)11 CoreFoundation 0x33d0d22b 0x33cf5000 + 9885912 Foundation 0x3187c757 0x317d8000 + 67362313 CoreFoundation 0x33d82b03 0x33cf5000 + 58035514 CoreFoundation 0x33d822cf 0x33cf5000 + 57825515 CoreFoundation 0x33d81075 0x33cf5000 + 57355716 CoreFoundation 0x33d044dd 0x33cf5000 + 6268517 CoreFoundation 0x33d043a5 0x33cf5000 + 6237318 GraphiCSServices 0x35944fcd 0x35941000 + 1633319 UIKit 0x34e49743 0x34e18000 + 20256320 myZenfolio 0x00004017 main (main.m:15)21 myZenfolio 0x00003fd0 start + 40
我使用-v运行symbolicate crash命令,并且发现app.dSym文件可以,似乎没有找到这个图标symfiles,这似乎是大多数人都遇到的问题.捂脸.
例如,以下是CoreFoundation lib的-v运行的输出:
............fetching symbol file for CoreFoundation--[undef] Searching [/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation /Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation]...--[/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation] Running xcrun -sdk iphoneos lipo -info '/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation'Running xcrun -sdk iphoneos otool -arch armv7 -l '/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation'Given UUID de9eefc6109735369cfd8f3de9895da0 for '/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation' is really UUID a2dbc131fdc0364e822339ca2926b6e8-- NO MATCH--[/Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation] Running xcrun -sdk iphoneos lipo -info '/Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation'Running xcrun -sdk iphoneos otool -arch armv7 -l '/Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation'Given UUID de9eefc6109735369cfd8f3de9895da0 for '/Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation' is really UUID a2dbc131fdc0364e822339ca2926b6e8-- NO MATCHSearching in Spotlight for dsym with UUID of de9eefc6109735369cfd8f3de9895da0Running mdfind "com_apple_xcode_dsym_uuIDs == DE9EEFC6-1097-3536-9CFD-8F3DE9895DA0"@dsym_paths = ( )@exec_names = ( )DID not find executable for dsym## Warning: Can't find any unstripped binary that matches version of /System/library/Frameworks/CoreFoundation.framework/CoreFoundation
我真的很失望,弄清楚接下来要尝试什么.
有人有什么想法吗?我很新鲜您的帮助将不胜感激!
谢谢,
麦克风
更多信息,现在我在symbolicatecrash输出错误.
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/Frameworks/Foundation.framework/Foundation truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 22 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/Frameworks/Foundation.framework/Foundation/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/PrivateFrameworks/GraphiCSServices.framework/GraphiCSServices truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 17 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/PrivateFrameworks/GraphiCSServices.framework/GraphiCSServices/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/Frameworks/UIKit.framework/UIKit truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 41 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/Frameworks/UIKit.framework/UIKit/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/PrivateFrameworks/WebCore.framework/WebCore truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 28 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/PrivateFrameworks/WebCore.framework/WebCore/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libobjc.A.dylib truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 12 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libobjc.A.dylib/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/system/libdispatch.dylib truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 11 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/system/libdispatch.dylib/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/system/libsystem_c.dylib truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 11 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/system/libsystem_c.dylib/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 15 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/library/Frameworks/CoreFoundation.framework/CoreFoundation/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/size: for architecture armv7 object: /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/system/libsystem_kernel.dylib truncated or malformed object (dataoff fIEld of LC_FUNCTION_STARTS command 10 extends past the end of the file)Error in symbol file for /Users/mike/library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/system/libsystem_kernel.dylib解决方法 以下解决了我的问题:
>删除文件夹〜/ library / Developer / Xcode / iOS DeviceSupport / 5.0.1(9A405)
>重新连接您的iOS设备,它将自动导入正确的符号.
之后,崩溃报告可以正确标识. (重新标识崩溃报告,打开管理器,点击“在Finder中显示”并删除符号版本)
总结以上是内存溢出为你收集整理的iphone – symboliccrash与XCode 4.2不符号系统符号全部内容,希望文章能够帮你解决iphone – symboliccrash与XCode 4.2不符号系统符号所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)