好老file
也可以做到这一点:
$ file libTestFlight.a
libTestFlight.a: Mach-O universal binary with 5 architectures
libTestFlight.a (for architecture armv7): current ar archive random library
libTestFlight.a (for architecture armv7s): current ar archive random library
libTestFlight.a (for architecture i386): current ar archive random library
libTestFlight.a (for architecture x86_64): current ar archive random library
libTestFlight.a (for architecture cputype (16777228) cpusubtype (0)): current ar archive random library
似乎没有人愿意在Apple上添加arm64 cputype file
。
有趣的是,在iOS 7技术讲座视频(“ Architecting Modern Apps,Part 2”,PDF第35页)中,它们显示了工作文件工具的输出: