'string' file not found C++头文件缺失问题

 

 

转载 https://www.jianshu.com/p/37ee30ed76ee

 

下载最新版Xcode  #include <string>报错 'string' file not found C++头文件缺失问题

将对应文件拷贝到最新版XCode对应目录下

真机:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++
模拟器:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/c++

Xcode9 C++头文件github链接:https://github.com/DeCori/Xcode9-cpp.git

 
posted @ 2019-07-08 15:44  Belinda_sl  阅读(6133)  评论(0编辑  收藏  举报