'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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM