The problem I’m having is that both files are named the same, so I can’t just add both to the list of libraries my game links against and let it pick the right one based on the architecture (btw, the readme seems to say this will work, but it also says the libraries will have different names, which they don’t). They have to have different names. So my other options seems to be either combine the two into a fat library, or rename one or other other. I’d rather it just work out of the box.
The problem I’m having is that both files are named the same, so I
can’t just add both to the list of libraries my game links against and
let it pick the right one based on the architecture (btw, the readme
seems to say this will work, but it also says the libraries will have
different names, which they don’t). They have to have different names.
So my other options seems to be either combine the two into a fat
library, or rename one or other other. I’d rather it just work out of
the box.
I recommend making a “fat” (a.k.a. Universal) binary. Use the lipo
command line tool to combine the multiple files you have into a single
file:
lipo -create <…> -output
-EricOn 3/13/14, braddabug wrote:
Whenever I build for iOS with Xcode it generates two files:
The problem I’m having is that both files are named the same, so I can’t
just add both to the list of libraries my game links against and let it pick
the right one based on the architecture (btw, the readme seems to say this
will work, but it also says the libraries will have different names, which
they don’t). They have to have different names. So my other options seems to
be either combine the two into a fat library, or rename one or other other.
I’d rather it just work out of the box.