I just have upgraded to Xcode 4.4.1 and get the following error message when trying to compile the demo apps included with Core Plot (Plot_Gallery_iOS and CPTTestApp_iPad):
clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
However, I was able to compile and run the demo apps with Xcode 4.4.
Do I have to change some settings in Xcode?
Thank you!
Grab the latest code from the repository. This has been fixed there.
The issue was with a series of older build settings. Look for the
OTHER_CPTLUSPLUSFLAGSbuild setting in the core framework project and remove that (you’re probably safe to remove the other obsolete build settings that appear at the bottom of the list in Xcode, too). In the Other C Flags list, I believe you also have to remove the-lsdtc++setting.Again, these are fixed in the latest repository code, along with a few other issues, so you should probably grab that instead of the packaged 1.0 Zip file.