Topic locked

Samples targeting iOS8

October 17, 2014 - 10:09am #1

Hi everyone,

I'm attempting to implement Vuforia (Cloud Reco specifically) within my application.

I have followed the sticky to attempt to use the samples in Xcode (6.1 GM 2), however it still breaks (linker error) if I set my Deployment Target to iOS 8 (or for that matter, any target above 6.1).

My application has to be set to target iOS 8+ for other, unchangeable, reasons.

Is there a way to get around this error? When will there be support for iOS 8+?

 

Thanks in advance

Samples targeting iOS8

October 20, 2014 - 9:46am #4

You're welcome ;-)

Samples targeting iOS8

October 20, 2014 - 9:44am #3

THANK YOU SO MUCH!

I had read that article so that was all set up.

Changing the C++ Standard Library fixed it!

Thank you again.

Alessandro you are amazing.

Samples targeting iOS8

October 20, 2014 - 9:27am #2

Have you already checked this article:

https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

 

In addition, if you're getting linker errors,

you may also want to check that in Xcode you have correctly selected your actual connected iOS device (and not using a Simulator device),

and to check the following:

Under the Build Settings tab:
  • go to the Apple LLVM 6.1 - Language - C++ subcategory
  • change the "C++ Standard Library" property to one of: 
    • libsdtc++ (LLVM C++ standard library) 
  • NOTE: it is also possible to leave the "C++ Standard Library" value set to the "libc++ Standard Library for C++ 11"; however, if you need to link such library, then:
    • under "Other Linker Flags" put the path of the libstdc++ library.  
    • For example on iOS SDK 7.1 this would be something like: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib/libstdc++.dylib

More about Xcode 6.1 linker errors:

http://stackoverflow.com/questions/25998429/xcode-version-6-1-6a1030-apple-match-o-linker-error-building

http://stackoverflow.com/questions/25957086/running-from-xcode-6-1-linker-errors

 

Topic locked