debugging - Xcode 4 final - 设备(ipad)上的断点不起作用

标签 debugging ipad xcode4

我下载并安装了 Xcode 4 的最终版本。我打开了我的 iPad 项目并意识到断点在设备上不起作用。不过他们在模拟器上工作正常。
在我使用 Xcode 3.2 之前,一切正常。

我还尝试从头开始创建一个基于空 View 的 iOS 应用程序,并且遇到了完全相同的问题。我在谷歌上搜索这个问题,但所有解决方案都基于以前版本的 Xcode。
任何建议我做错了什么?

这是运行应用程序时控制台的输出

Mar 10 14:34:44 unknown installd[547] : entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown installd[547] : entitlement 'application-identifier' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown SpringBoard[29] : Killing  me.device-debugging-test  activate:  deactivate:  for app installation
Mar 10 14:34:44 unknown installd[547] : entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown installd[547] : entitlement 'application-identifier' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown SpringBoard[29] : Reloading application state for 'me.device-debugging-test' as its modification date has changed
Mar 10 14:34:45 unknown SpringBoard[29] : Reloading and rendering all application icons.
Mar 10 14:34:46 unknown com.apple.debugserver-48[551] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc.  All Rights Reserved.
Mar 10 14:34:46 unknown com.apple.debugserver-48[551] : Connecting to com.apple.debugserver service...
Mar 10 14:34:47 unknown com.apple.launchd[1] : (UIKitApplication:me.device-debugging-test[0x4309]) Spawned and waiting for the debugger to attach before continuing...
Mar 10 14:34:47 unknown com.apple.debugserver-48[551] : Got a connection, waiting for debugger instructions for task "(null)".
Mar 10 14:34:47 unknown kernel[0] : lockbot[544] Builtin profile: debugserver (sandbox)
Mar 10 14:34:47 unknown kernel[0] : launchd[552] Builtin profile: container (sandbox)
Mar 10 14:34:47 unknown kernel[0] : launchd[552] Container: /private/var/mobile/Applications/(...) [69] (sandbox)

最佳答案

重新启动您的设备。

简短、甜蜜且简单的解决方案。
经过几个小时的挖掘所有 XCode 选项。

关于debugging - Xcode 4 final - 设备(ipad)上的断点不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5260349/

相关文章:

linux - GDB 不加载调试符号,尽管它们存在

iphone - 从后台删除应用程序时停止本地通知

git - 如何阻止 XCode 4 修改本地 Git 存储库?

android - 将设备连接到 Windows 10 上的 Android Studio

c++ - DLL 中的控制台输出窗口

可以在 RFC 用户下调试吗?

ios - Xcode 4.3.2 缺少 iOS 4.0 模拟器

objective-c - 单击选项卡时需要在进入单击的选项卡之前回答警报 - iPad 编程

ios - 如何在 iPad 上创建 TIFF

ios - 在 iOS XCode 项目中管理大量目标预处理器宏