Using a 32-bit library in a 64-bit application

I have my project configured to work as 64-bit on supporting devices, and 32-bit otherwise. ZBarSDKgives me a problem. I get an error Undefined symbols for architecture x86_64.

Execution lipo -infoin the library file results in:armv6 armv7 i386

Is there a way to compile my project for the 64-bit version and enable this library?

+4
source share
1 answer

No. 32-bit code cannot call 64-bit code and vice versa.

+2
source

All Articles