Does anyone know how can list symbols from an object file that I built for arm64 architecture?
I tried to use nm
but it gave me an error:
bfd_mach_o_scan: unknown architecture0x100000c/0x0
File format not recognized
Is it possible to do the same thing using otool
?
The system
nm
doesn't read arm64. You need to use thenm
that came with your arm64 SDK (i.e. the iphoneos SDK in Xcode). This is the same path as where you ranclang
.