objective-c - 应用程序被拒绝 : crashes on launch , 但在所有设备上对我来说也能正常工作

标签 objective-c iphone ios7 ios5 xcode6

我的应用程序仅适用于 iPhone。它在所有设备上都运行良好,但是当提交该应用程序时,它被苹果公司拒绝了,说......

第一次提交

We found your app crashed on launch so we were unable to review it.

Please revise your app and test it on a device to ensure it will launch without crashing, and that it runs as expected, before resubmitting.

这是崩溃报告链接 this is the crash report

crash report

他们说在第二次提交时被拒绝

Thank you for your resubmission. However, we were still unable to review your app, as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.

Specifically, upon review we found the application will shortly crash after launch. 

他们发送崩溃报告

on second time submission

on second time submission

我没明白我哪里做错了,请检查一下,提前致谢

我也尝试 Bhavin step 来找到崩溃位置,但终端显示我就是那样

enter image description here

最佳答案

我找到了解决方案。我们可以直接将崩溃报告拖放到设备日志上。 然后它将崩溃报告转换为可读格式。

步骤:

  1. 将您的设备连接到 mac。
  2. 打开 Xcode
  3. 从菜单栏转到窗口
  4. 像这样点击设备

enter image description here

  1. 现在,拖放您从 Apple 收到的崩溃报告。它将对其进行符号化并以可读的格式向您展示。如果文件扩展名是.txt,请将其更改为“.crash”。

关于objective-c - 应用程序被拒绝 : crashes on launch , 但在所有设备上对我来说也能正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28473575/

相关文章:

ios - 为什么我的自定义 View 没有出现在模拟器中

ios - 如何在 iOS 代码中创建和访问 UI

ios - 使 TableView 部分标题中的按钮 float /以编程方式右对齐//Swift

iphone - 随机化对象位置

iphone - 在 UITextField 中禁用放大镜

ios - 在 WKWebView 中禁用缩放?

iOS 7's deprecation of NSString' s drawAtPoint :forWidth:withFont:minFontSize:actualFontSize:lineBreakMode:baselineAdjustment:

ios - 将 UIKit 的 UIScrollView 与 SpriteKit 结合使用

iphone - 在 tableview 滚动时拦截 UITableView 中的 TouchUpInside 事件

ios - 为什么beginBackgroundTaskWithExpirationHandler提前结束?