Xcode 5/6: View Debugging always grayed out?

2019-01-21 16:08发布

The "Debug / View Debugging" menu is always grayed out for me in Xcode 5 (and 6), even when the target is stopped at a breakpoint. How do I enable it?

Debug / View Debugging

标签: ios xcode xcode5
8条回答
走好不送
2楼-- · 2019-01-21 16:38

For me (Xcode 6 Beta and Beta two) the View Debugging options are only enabled in 32bit simulators (e.g. works when I use 'iPhone 5' but not when I am using 'iPhone 5s')

查看更多
不美不萌又怎样
3楼-- · 2019-01-21 16:38

By adding support for 64bit (arm64) in your target, View Debugging is enabled for 64bit devices (iPhone 5s, iPhone 6 and iPhone 6 Plus)

In your target build settings make sure under Architectures that standard architectures is checked $(ARCHS_STANDARD), and under Valid Architectures you have arm64.

查看更多
登录 后发表回答