Friday, September 20, 2013

XCode objective-c++ Compilation error


XCode compilation error
==================
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)


The above error is due to .cpp extension used for objective-c++ file, ie., a file that
has the objective-c and c++ code has extension .cpp insted of .mm. Rename to .mm extension
could solve this issue.

No comments:

Post a Comment