Please read the new rule regarding the restriction on the use of AI tools. ×

Can someone please tell me how to fix this compilation error.

Revision en1, by smalldog, 2022-12-16 00:24:07

Im trying to run C++ on vs code on my mac and I get this compilation error even for basic hello world programmes:

Errors while compiling: ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' for architecture x86_64 collect2: error: ld returned 1 exit status

I tried everything but it isent getting resolved. Please help!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English smalldog 2022-12-16 00:24:07 473 Initial revision (published)