From this line:
ld: symbol(s) not found for architecture x86_64
it looks like you are creating several libraries that create files that are created only for 32-bit architectures.
You need to change the makefiles for all the libraries / frameworks you build to create 32-bit and 64-bit; and in a practical sense, all devices for delivering MacOS computers have 64-bit compatibility, so it can be safe to create for a 64-bit version .
In your compilation / linking lines add something like this: " -arch x86_64 " and this should compile things for the 64 bit side. To execute both 32 and 64-bit, you will mainly need to duplicate compilation lines and links with your lines " -arch i386 " and " -arch x86_64 ".
source share