I'm stuck with a ridiculous basic simple issue that is driving me crazy for days now !
Here's the story:
"Project Build Settings"
and "Target Build Settings"
in Xcode and everything looks the same.I have searched and seen ALL the lipo:can't open input file
error questions and ld: symbol(s) not found for architecture armv7
error questions, but none of the answers seem to work for me. Please do not just reference to Google search results.
I have tried cleaning the project, removing and re-adding files to target, synchronizing linked frameworks on both projects, removing derived data, changing build active architecture only setting
, and many other things suggested on other questions.
Since the same library file is being compiled and linked successfully on same device and Xcode and SDK, please do not come up with suggestions like "requesting Vendor for a newer version of library which is compatible with arm64 or etc".
I'm running Xcode 7.1 on OS X El Capitan and I can even provide TeamViewer Access if a closer look on projects is required.
Any helps is reaaaaaally appreciated, I'm really stuck with this.
Thank you in advance.
Xcode only includes standard C++ libraries when linking if it detects a source file that is compiled using C++. This can cause link problems if a library requires some of its symbols to be resolved using libc++ (or similar).
A workaround is to create an empty .cpp file in the project to fool Xcode. (I prefer that to making a "real" class into .mm because refactoring has never worked for Objective-C++.)