lipo
lipo copied to clipboard
lipo with "-info" / "-archs" result in "invalid magic number"
Hi, and thanks for this great project!
While I suspect it's not as common that the -archs/-info commands are used, I think it's probably good to list it as a difference in functionality from the standard lipo tool.
Currently, when invoking it it produces an error:
$ ./lipo -archs ./mylib.a
Error: can't figure out the architecture type of: ./mylib.a: invalid magic number
# original lipo
$ lipo -archs ./mylib.a
arm64
Thank you for your report! It needs to handle ar file format. I will address it after investigating the format.
addressed the issue in version v0.9.0