Log in or register to post comments

ARCommon error in XCode 4.5

January 17, 2013 - 7:40pm #1

Hi all, I'm a newbie using Vuforia SDK.  I have a problem I researched a few days but don't still fix it yet. I'm using XCode 4.5, target is 4.3: 

- First, I installed Vuforia 2.0, import libQCAR.a into my empty project. And I also set to header files. Then, I remove architecture armv7s. Final, I built project with device, it's ok.    

- Second, I add ARCommon folder into project. When I built, it's error:  

"Apple LLVM compile 4.1 error.

clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)


Command /Users/minhquans/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1"


Please help me. Thanks !

ARCommon error in XCode 4.5

January 22, 2013 - 1:53am #5

Thanks for this - good to know.


ARCommon error in XCode 4.5

January 21, 2013 - 5:25pm #4

Thanks all, I fixed the issue. I miss a framework.

Google knows everything and

January 21, 2013 - 7:48am #3

Google knows everything and it doesn't bite.

As NalinS said, you need to set "C++ standard library" as "Compiler default".

Firstly can I just check that

January 18, 2013 - 4:48am #2

Firstly can I just check that you are able to build the iOS native samples?

If so, then it is probably some setting that needs to change in your project, because you are importing Vuforia into it rather than modifying an existing sample.

The easiest way to check is to have two instances of XCode open and go through the build settings.

Looking at your error messag it might be something to do with the C++ Standard Library as shown in the build settings below.

Can you experiment with this and see how you progress? - let me know how you get on.


Log in or register to post comments