I am attempting to compile Ghostscript (ver. 9-22) for iOS 11 to replace an older, 32-bit version of the library that was build for iOS 9 and before. Following the instructions found here, I altered the final step in order to give me an arm64 dynamic library:
ar -crs libgs_arm64_release.a obj/*.o
However, if I do a:
lipo -info libgs_arm64_release.a
it tells me that:
input file libgs_arm64_release.a is not a fat file
Non-fat file: libgs_arm64_release.a is architecture: x86_64
Thinking I was using the wrong tool, I also tried looking at using the lipo from the XCode toolchain per: How to check if a static library is built for 64-bit? but got the same result that is believes it is an x86_64.
Thoughts on what step I am missing to compile for an arm64 architecture?