惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
Stack Overflow Blog
Stack Overflow Blog
博客园 - 三生石上(FineUI控件)
T
Threat Research - Cisco Blogs
S
SegmentFault 最新的问题
V2EX - 技术
V2EX - 技术
Hacker News: Ask HN
Hacker News: Ask HN
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Proofpoint News Feed
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
U
Unit 42
腾讯CDC
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
H
Help Net Security
Recent Announcements
Recent Announcements
P
Privacy & Cybersecurity Law Blog
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
博客园 - 聂微东
S
Securelist
大猫的无限游戏
大猫的无限游戏
Cloudbric
Cloudbric
Cisco Talos Blog
Cisco Talos Blog

博客园 - toon的泥瓦匠

在oj中Python的循环输入问题解决 LeetCode 2. Add Two Numbers swift LeetCode 01 Two Sum swift Protocol in Objective-C 阿里云Center OS 6.2 Nginx 配置 SSL/TLS HTTPS配置 阿里云Centos 6.3 64位 安全加固版 升级 Php 中的 Curl 7.19 到 7.35 iOS APNS配置(转) GCD dispath_async dispath_sync 各种混合使用测试情况 Mac OS X Redmine Backlogs安装日志 设计模式建议学习顺序 iOS RSA公钥加密数据 服务端接受PHP私钥解密 反过服务端公钥加密数据 iOS端私钥解密数据 xcode调试找出错误行 iOS 日期格式串 setDateFormat 显示格式代码 iOS5 UI 设计新手段 Storyboard UIEdgeInsets Non-SQL 完成公司核名 varchar(max) text sqlserver 2005 数据库的正则替换 sqlserver 2005 full-text 的创建和使用 - toon的泥瓦匠
调试iOS 已经发布代码 Crash 文件分析出出错对应代码
toon的泥瓦匠 · 2012-11-10 · via 博客园 - toon的泥瓦匠

1.需要发布代码的 对应 app和.dSYM

  位置Xcode4.5.2 通常在/User/<用户名>/Developer/Xcode/Archives/目录下 找到对应的应用 显示包内容,将其中的

应用和.dSYM

(例如我的应用名称为:guola) 

guola.app 和对应guola.dSYM 复制到桌面上。

 

2.将工具从/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Resources/symbolicatecrash 复制到桌面。

打开终端使用命令复制

GL:~/Desktop/$cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Resources/symbolicatecrash ./ 

3.使用GL:~/Desktop/$./symbolicatecrash guola.crash guola.dSYM>new_symbol.crash

 Incident Identifier: 60CB1AEF-9D5D-4774-8ACC-CA7010529B78

CrashReporter Key:   4327a53f87afc07626eb574177669093d961b7df
Hardware Model:      iPhone2,1
Process:         VPathHunt [545]
Path:            /var/mobile/Applications/2707927C-587A-4FD7-BA1C-691A016563FB/VPathHunt.app/VPathHunt
Identifier:      VPathHunt
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2012-11-10 16:28:18.382 +0800
OS Version:      iOS 6.0.1 (10A523)
Report Version:  104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000000000000x0000000000000000
Crashed Thread:  0

Last Exception Backtrace:
0   CoreFoundation                    0x32e1429e __exceptionPreprocess + 158
1   libobjc.A.dylib                   0x3a1a197a objc_exception_throw + 26
2   CoreFoundation                    0x32e141c0 +[NSException raise:format:] + 100
3   CoreFoundation                    0x32de373a mutateError + 102
4   VPathHunt                         0x000a91a0 __30-[MainViewController getlift:]_block_invoke_0 (MainViewController.m:612)
5   VPathHunt                         0x000afc42 __block_global_3 (AFJSONRequestOperation.m:129)
6   libdispatch.dylib                 0x3450611a _dispatch_call_block_and_release + 6
7   libdispatch.dylib                 0x345054b2 _dispatch_client_callout + 18
8   libdispatch.dylib                 0x34506dc6 _dispatch_main_queue_callback_4CF$VARIANT$up + 222
9   CoreFoundation                    0x32de7f36 __CFRunLoopRun + 1286
10  CoreFoundation                    0x32d5aeb8 CFRunLoopRunSpecific + 352
11  CoreFoundation                    0x32d5ad44 CFRunLoopRunInMode + 100
12  GraphicsServices                  0x37d772e6 GSEventRunModal + 70
13  UIKit                             0x330492f4 UIApplicationMain + 1116
14  VPathHunt                         0x0009a3ca main (main.m:16)
15  VPathHunt                         0x0009a364 start + 36

备注如果命令行下执行 symbolicatecrash 出现  Error:"DEVELOPER_DIR"isnotdefined at /Applications/Xcode.app/[snip]Resources/symbolicatecrash line 53 提示

在命令下执行

 GL:~/Desktop/Test/crash$export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer" 

即可。 

还可以参考

 http://ios-iphone.diandian.com/post/2012-05-18/19440182