【问题标题】:Why BugSense is stripping crash stack trace symbols?为什么 BugSense 正在剥离崩溃堆栈跟踪符号?
【发布时间】:2013-05-29 09:13:29
【问题描述】:

在运行启用了 BugSense 的应用程序时,我在调试控制台中看不到任何崩溃堆栈跟踪日志。我在调试控制台中看到的唯一内容是“SIGABRT”。我使用代码在 AppDelegate didFinishLaunching 中启用 Bugsense:

[BugSenseController sharedControllerWithBugSenseAPIKey:kBugsenseApiKey userDictionary:nil sendImmediately:YES];

项目和应用程序目标构建设置“复制期间剥离调试符号”和“剥离链接产品”均设置为“否”

如果我注释掉“[BugSenseController sharedControllerWit...”行,那么我会在调试控制台中看到完整的崩溃堆栈跟踪。任何想法,我缺少什么构建设置?

【问题讨论】:

  • 您在生成调试符号吗? (Generate Debug Symbols 设置为什么?)
  • @devnull "Generate Debug Symbols" 在项目构建设置和目标构建设置中都设置为 YES。

标签: iphone objective-c bugsense


【解决方案1】:

在目标构建设置集中 在复制期间去除调试符号 =YES, 剥离链接产品=YES

      - (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {   
              [BugSenseController sharedControllerWithBugSenseAPIKey:@"<Your BugSense API Key>"];

        }

然后检查一下

【讨论】:

  • 不,没有成功。是否将这两个设置都设置为项目构建设置和目标构建设置。
  • 是的,将这两个设置为项目构建设置和目标构建设置。它在我的项目中工作正常..nd 也..收到错误邮件。更多详细信息阅读 doc 文件。 bugsense.com/docs/ios
猜你喜欢
  • 1970-01-01
  • 2012-07-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-07-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多