XCode 8.3 debugger not showing variables: <could not resolve type>

Hi everyone,


I have seen many threads on this issue but none of them solved my problem.


When in debugging mode on a breakpoint, I can't inspect values of any of the variables in the breakpoint scope.


I am running the project in debug executable using debug compilation.

I tried to play with the build settings:

Debug Information Format: from DWARF to DWARF with dSYM file

Enable bitcode YES and NO

Enable CLangModule Debugging YES / NO

Enabe Modules (C and Objective C)


I am running out of solutions. I am also using external framework in my project (some coming from pods, some directly in some directories in my project)

Is it possible that this issue is caused by an external framework ?


I don't know what to do next to solve this issue. Hope someone could help.


Vincent.

Replies

I have the same prolem in Xcode 9 and I to

checked all build settings and

am using externel frameworks.

Did u ever find a soultion for this?

I've the same problem with xCode 9.2 ( 9C40b) with only 1 project but this issues has started before the update.

On other project ,

debugger work perfectly. I've already try the build setting like Vibou message,delete derived data, without any sucess.


Thank and have a nice day

Problem solved for me, in project Build Phase, in Run Script i've found that

function removeHeaders() {
    find $BUILD_ROOT/Debug-iphonesimulator/  -name '*.h' -exec rm -f {} \;
}
removeHeaders

I've disable the call function at L4 and now the debugger work perfectly


I hope it's help you