-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
marinercoder Jul 19, 2018 11:28 AM (in response to marinercoder)If anyone else has this issue, there is a a setting in build setting for which will set which c++ libraries to use (libc++ is now default). in my case I simply changed the minimum system to something recent, Xcode then will seset the critical bits for you.
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
gsmalley Sep 19, 2018 12:18 AM (in response to marinercoder)For anyone else encountering this issue, I was encountering it because one of my project's frameworks was still using the old "libstdc++" library which is now unsupported in Xcode 10. I had to go into the framework's Build Settings, scroll all the way down to "Apple Clang - Language - C++" and change the C++ Standard Library from "libstdc++ (GNU C++ standard library)" to "libc++ (LLVM C++ standard library with C++11 support)"
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
Fengmap Sep 19, 2018 9:06 PM (in response to marinercoder)I also encountered such a problem, but I solved it like this.
copy from
/Applications/Xcode9.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++ to Xcode10 the same path
Xcode10 had deleted it.
also,you should copy simulator c++ files.
hope that it works.
good luck.
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
iwai Sep 30, 2018 5:53 AM (in response to Fengmap)To solve this problem completely, I needed to copy the following libraries as well as the headers:
libstdc++.tbd, libstdc++.6.tbd and libstdc++.6.0.9.tbd
in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib.
Thx.
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
e1m2c4@yahoo.com Oct 8, 2018 8:22 AM (in response to iwai)Could you explain your solution better?
I get that you have found
these files:
libstdc++.tbd, libstdc++.6.tbd and libstdc++.6.0.9.tbd
here:
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib.
move to:
[INSERT DIRECTORY (...I am dumb I am sorry...)]
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
vanthach May 2, 2019 5:08 AM (in response to iwai)I copy file but not run.
-
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
cabreu Jul 19, 2019 8:04 AM (in response to Fengmap)How can I copy the simulator files? Where is it? Could you help me?
-
-
Re: Xcode 10 beta 4 - stdlibc++ headers not found;
aungbaw Jul 24, 2019 7:54 PM (in response to marinercoder)Same problem happened to me, i just upgrade to 10.15 beta and install libc++
via brew. Hope it's working for you too.