xcode 8 Debugger 'Could not resolve type'

debugging, ios, xcode8

Solution

I encountered a similar issue with a pure swift framework that doesn't have any bridging headers but non the less had `SWIFT_INSTALL_OBJC_HEADER` set to `YES`

It is described in more detail at https://stackoverflow.com/a/51186560/385307

After changing the setting to `NO` debugging works again.

Problem

In Xcode 8, When any break point is hit, and I try to print any object in the Xcode debugger, it always prints "Could not resolve type". I have searched enough on the internet. I have checked if EditScheme->Run->Info->BuildConfiguration is set to 'Debug'. Build setting->Optimisation level is set to 'None'. But no clues on why this happens. Could anyone help me out here? Thanks in advance.

Original source

Related problems