我下载并安装了Xcode 4的最终版本。我打开了我的iPad项目并意识到断点在设备上不起作用。它们在模拟器上工作正常。
在我使用Xcode 3.2之前,一切正常。
我也尝试从头开始创建一个基于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)
答案 0 :(得分:12)
重新启动您的设备。
简短,甜美,简单的解决方案。 花了几个小时来挖掘所有的XCode选项。