Relative Content

Tag Archive for c++xcode

How to use Xcode as a debugger for my C executable

I want to basically use Xcode as a nice integrated frontend to lldb and debug my code with it. I’ve compiled my C program with debug info; I have both the executable and a .dSYM folder. On Xcode, I used the Debug Executable menu to debug it, and it shows the output of my executable but nothing else; I can’t step though it or view any associated files. How can I use Xcode as a debugger with proper integration?

Xcode new files

I am new to Xcode and am using it in a class to learn c++.

Update XCode project to latest SDK?

I’m working on a C++ project in XCode. It was on SDK version 14.4. A popup appeared, asking me if I want to update XCode to SDK 14.5. I did the update. Now, when I build my project, it fails because it cannot find SDK 14.4.] Here is a screenshot of the error: 1