Log in or register to post comments

Apple Mach-O Linker Error Undefined symbols for architecture armv7

October 21, 2014 - 8:12am #1

I recently updated xCode to version 6.1 and also running Unity 4.5.4p3 (patch) with Vuforia 3.0.9. After rebuilding one of my projects I am now getting 21 Mach-O Linker errors that all seem to be related to "_videoPlayer...". Is Vuforia comptaible with the latest version of xCode? Perhaps I need to downgrade xCode or Unity to a previous version without the patch update?

Apple Mach-O Linker Error Undefined symbols for architecture arm

November 3, 2014 - 6:14am #4

Try the links below that dm3d has already indicated; those should already solve.

In addition, you may also want to check the following:

Under the Build Settings tab:
  • go to the Apple LLVM 6.0 (or 6.1) - Language - C++ subcategory
  • change the "C++ Standard Library" property to one of:
    • libsdtc++ (LLVM C++ standard library)  OR
    • Compiler Default
  • 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 8.1 this would be something like: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/lib/libstdc++.dylib

 

Apple Mach-O Linker Error Undefined symbols for architecture arm

November 2, 2014 - 7:01am #3

Did you solved this issue? I have similiar problem.

 

Thanks

Apple Mach-O Linker Error Undefined symbols for architecture arm

October 27, 2014 - 9:33pm #2

A popular cause of Mach-O linker errors is trying to compile to a Simulator target profile. With Vuforia, you need to compile to a device profile. You can check this in the upper-left corner of the Xcode window. Also, there's some FAQs that detail certain issues with Xcode 6 and Unity 4.5.4.

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

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/unity-454-455-and-vuforia-ios

 

Log in or register to post comments