应用程序被拒绝:在启动时崩溃,但在所有设备上也能正常使用

Har*_*ish 3 iphone objective-c ios5 ios7 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.
Run Code Online (Sandbox Code Playgroud)

这个崩溃报告链接请 这是崩溃报告

崩溃报告

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

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. 
Run Code Online (Sandbox Code Playgroud)

他们发送崩溃报告

在第二次提交

在第二次提交

我没有得到我做错的地方,请检查一下,提前谢谢

我也尝试Bhavin步骤找到崩溃的位置,但终端显示我就像那样

在此输入图像描述

Bha*_*vin 5

跟着这些步骤 :

  1. 获取您提交到应用商店的.ipa文件.
  2. 使用.zip重命名扩展名.ipa,将其压缩.你会得到一个包含.app文件的Payload文件夹.
  3. 使用此.app文件和崩溃日志文件创建一个文件夹.
  4. 现在,打开终端应用程序并转到上一步创建的文件夹(使用cd命令).
  5. 运行这条神奇的线条:

    atos -arch armv7 -o YourAppName.app/YourAppName MEMORY_LOCATION_OF_CRASH

Where,MEMORY_LOCATION_OF_CRASH=您的应用根据报告崩溃的位置.

它会给你确切的行,方法名称导致崩溃.


Har*_*ish 5

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

脚步:

  1. 将设备连接到Mac。
  2. 开启Xcode
  3. 从菜单栏转到窗口
  4. 点击设备这样

在此处输入图片说明

  1. 现在,拖放从苹果收到的崩溃报告。它将象征它并以可读格式显示。如果文件扩展名为.txt,请将其更改为“ .crash”。