c++ compiler not working after macOS sequoia update

after updating to macOS sequoia C++ compiler on vscode is not working is it just me or it is a common issue ?

Answered by DTS Engineer in 804330022

It’s probably just you |-:

I have a post that covers this general topic: Investigating Third-Party IDE Integration Problems. Please run through that process and write back if you hit a snag with the Apple side of this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It’s probably just you |-:

I have a post that covers this general topic: Investigating Third-Party IDE Integration Problems. Please run through that process and write back if you hit a snag with the Apple side of this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I am seeing this on my Mac which I've just upgraded to Sequoia:

$ cat hello.cpp
#include <iostream>
int main() {
  std::cout << "Hello, world!!\n";
}
$ clang hello.cpp
hello.cpp:1:10: fatal error: 'iostream' file not found
    1 | #include <iostream>
      |          ^~~~~~~~~~
1 error generated.

I have one Mac with Sonoma where this works; the above error is from my other Mac where I just installed Sequoia. I do C++ development (on multiple platforms) for a living -- the only change is my having installed Sequoia on my one Mac, whereat a hello-world C++ program no longer compiles.

After uninstall and reinstall of xcode (version 2409 reported before & after) I can compile hello-world using clang++ and g++

I am also getting same error test.cc:1:10: fatal error: 'iostream' file not found 1 | #include <iostream> | ^~~~~~~~~~ 1 error generated. make: *** [test] Error 1 while compiling from terminal, but Xcode is working

c++ compiler not working after macOS sequoia update
 
 
Q