xcode IOS 应用程序崩溃,但没有可用的崩溃日志

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/36788837/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:45:15  来源:igfitidea点击:

IOS App crashes, but there is no crash log available

iosxcodecrash-reports

提问by mcfly soft

I am starting my App from XCode and with a specific behaviour it just disconnects and the app disappears from my IPAD screens. So I guess the app crashes.

我正在从 XCode 启动我的应用程序,并且具有特定的行为,它只是断开连接,应用程序从我的 IPAD 屏幕上消失。所以我猜应用程序崩溃了。

Now my question. Where Do I get this crashlog ? I already looked into Window -> Devices -> choose my Ipad -> "View Device Logs" . But I cant see any actual crash log. I have some from earlier times, but my actual doesn't show up.

现在我的问题。我从哪里得到这个崩溃日志?我已经查看了 Window -> Devices -> 选择我的 Ipad -> "View Device Logs" 。但我看不到任何实际的崩溃日志。我有一些早期的,但我的实际没有出现。

How do I get a crashlog ?

我如何获得崩溃日志?

回答by Daniel Broad

You need to look at the device console under windows, devices in Xcode.

需要查看windows下的设备控制台,Xcode中的devices。

Its possibly saying something about code signing, bundle id's or missing libraries.

它可能会说一些关于代码签名、包 ID 或缺少库的内容。

回答by Roee84

Try to delete the crash logs from "earlier times".

尝试从“更早的时间”中删除崩溃日志。

You have maximum amount of saved crash logs, and if you passed it - you won't see the new crash logs

您保存了最大数量的崩溃日志,如果您通过了它 - 您将看不到新的崩溃日志

回答by Jibin Jose

check if you have enabled Share with app developers option in settings. Privacy -> Analytics -> Share with App Developers.Xcode was not showing crash logs, enabling this helped me

检查您是否在设置中启用了与应用程序开发人员共享选项。Privacy -> Analytics -> Share with App Developers.Xcode 没有显示崩溃日志,启用这对我有帮助