Error: bits/c++config.h: No such file or directory

I'm not sure if this is an XCode or AppCode issue. I just upgraded to Xcode 4.2 and my c++ code still compiles fine there. However, AppCode generates a bunch of errors like:

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/c++/4.2.1/bits/stl_tree.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/c++/4.2.1/map
...
Error:(65, 28) bits/c++config.h: No such file or directory

Googling this issue didn't find anything obvious. Anyone else with this issue?

Michael

0
3 comments

Michael,
Please check if the selected run configuration is correctly configured; try to select iPhone Simulator 5.0 there and see if it helps.

Thanks,
Anton Makeev

0

Selecting iPhone Simulator 5.0 worked. Changing back to 4.3 brought back the compilation errors. I'm now using 5.0 as a decent workaround for this issue.

Thanks very much!

0

Michael,
thanks, for the update. There is an issue for this problem, please follow and watch http://youtrack.jetbrains.net/issue/OC-2152.

0

Please sign in to leave a comment.