PaulWoodIII
PaulWoodIII

Reputation: 2656

Xcode 6 View Debugging not available

I'm debugging my project and moving it to support iOS 8. Among many other problems I've noticed that Xcode 6's new feature of view debugging is not available in the Debug Bar and is also not available in the Applications menu bar.

Is there a build setting for this feature?

The Debug Bar, the view debugging icon should be visible to the left of the right most "arrow" icon

The Debug Menu Bar, view debugging is greyed out

Upvotes: 2

Views: 3066

Answers (4)

Dinesh Kumar
Dinesh Kumar

Reputation: 151

Xcode 11.5 & 11.6:

Swift 5.2:

Edit scheme -> Run -> Info -> check the button Debug Executable

Now run the project. We can debug now ..!!!

enter image description here

Upvotes: 0

Michael Thiel
Michael Thiel

Reputation: 2444

Two things worth mentioning about view debugging:

a) Yes, there is a setting in Xcode to enable/disable view debugging per scheme. Edit your current scheme (Product > Scheme > Edit Scheme...) and check the 'Run > Options' section.

Setting in Xcode to enable/disable view debugging

b) Even in Xcode 6.1 (6A1052d), two prerequisites need to be fulfilled for view debugging to work (at least in my experience):

  • App needs to be running on a 32 bit device (iPhone 5 or older)
  • App needs to be running on iOS 8 or newer

View debugging worked for me on both, actual devices and in the simulator (although it works more reliable for me on the simulator).

Upvotes: 5

Kirit  Vaghela
Kirit Vaghela

Reputation: 12674

It's Working on Xcode 6 with iPhone 5s simulator

Upvotes: -1

va05
va05

Reputation: 325

view debugging is only available after you run the application.Right now they are disable. Just run your app then go to view debuggingHere is screenshot

Upvotes: 2

Related Questions