Re: Symbolicating logs with Xcode 6.1
Re: Symbolicating logs with Xcode 6.1
- Subject: Re: Symbolicating logs with Xcode 6.1
- From: Rick Mann <email@hidden>
- Date: Thu, 22 Jan 2015 16:17:09 -0800
> On Jan 22, 2015, at 16:04 , Roland King <email@hidden> wrote:
>
>
>> On 23 Jan 2015, at 07:15, Rick Mann <email@hidden> wrote:
>>
>> Xcode 6 took a major step backward when they buried the crash log viewing under connected devices. If you have no connected device, you can't view crash logs. It means you can't take a crash log from a user somewhere else and symbolicate it very easily.
>>
>> I have the .dSYM and binary for the app that crashed. I want to symbolicate it. Is there any way to do that in Xcode 6.x?
>
> By hand following various sets of instructions you find littered around the web seems to be the only answer I've found. That's the same answer for symbolicating OSX crashes and I'm not very good at it. I've had most success with the crashlog command in lldb (http://lldb.llvm.org/symbolication.html) but I always start from scratch every time and re-learn the same things I did the last time.
>
> This post by Sean in reply to one of mine from quite a long time ago got me started http://lists.apple.com/archives/xcode-users/2014/Jul/msg00261.html. AFAICT lldb still gets confused by tabs :(.
>
> I completely don't understand why XCode 6 made that change and only shows logs for devices currently connected to your machine, when it used to show all crash logs for all devices you had ever connected to your machine. They're still there in the filesystem, they're still incredibly useful, you can just no-longer get to them. Nor do I understand why it doesn't symbolicate OSX crashes too.
>
> After our last thread about this back in September (http://prod.lists.apple.com/archives/xcode-users/2014/Sep/msg00037.html) which went nowhere I filed rdar://18590574 which remains open. Perhaps you'd like to file one asking for the ability to see crash logs from previously connected devices to be reinstated and dupe mine. I find it hard to believe this change was intentional, but I find it just as hard to believe it could have happened by accident.
Will do. I also found someone made a native app to do this which could be expanded on:
https://github.com/agentsim/Symbolicator
For example, I don't know if it automatically finds the .dSYM file, which we could add, and it writes the symbolicated file to disk, but I'd rather it just display it. I wonder if it's possible to make attributed strings with links to Xcode to open and scroll to the relevant lines…
And some steps for doing it manually (which I, too, always have to re-learn):
http://stackoverflow.com/a/26461123/251914
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden