Xcode 报错‘iostream‘ file not found

今天升级Xcode11之后报错'iostream' file not found

解决方法1:

Build Settings -> Search paths ->System Header Search Paths

在Debug和Release添加

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/

 

Xcode 报错‘iostream‘ file not found_第1张图片

你可能感兴趣的:(mac常见问题,xcode,C,++)