gpt4 book ai didi

ios - 使用 GDB 测试 iPad 应用程序挂起黑屏,在模拟器上正常

转载 作者:行者123 更新时间:2023-11-28 17:47:59 26 4
gpt4 key购买 nike

我有一个基于 iOS 4.2 构建的应用程序,它在模拟器上运行良好。当我在设备上构建和运行该应用程序时,它会挂起。唤醒它的唯一方法是杀死 GDB(即点击红色停止标志)。只要 GDB 没有运行,应用程序就可以正常运行。我可以从 Spring 板上打开它并正常测试。尽管如果 GDB 仍在运行,并且我从 spring board 启动应用程序,黑屏又会出现。

我没有任何断点,并且在我的 MainWindow.xib 上选中了启动时可见和启动时全屏。

我在我的 iPhone 上也有同样的行为。

在设备上进行调试会导致它只显示黑屏。虽然,我可以看到状态栏。

我检查了 GDB 日志,但大多数只是警告我一些框架之间的设备/SDK 不匹配。例如:

warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport

还有其他人看到过这种行为吗?

最佳答案

我刚刚用 Apple 的最新版本更新了我的 SDK 和设备,它似乎解决了这个问题。

关于ios - 使用 GDB 测试 iPad 应用程序挂起黑屏,在模拟器上正常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4216265/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com