'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