I have a static library in my iOS project, including slices to 4 Architecture I I Architecture static library with the command I am able to determine the fragment components:
$ file myStaticLib.a myStaticLib.a: Mach-O universal binary architecture ARMv7) for (with 4 architecture myStaticLib.a: architecture i386 Current ar archive random library myStaticLib.a (): Architecture For x86_64 currently ar collection random library myStaticLib.a (): currently ar collection random library myStaticLib.a (): currently ar collection random library architecture arm64
I specific piece < Em> size (like arm 64, like). How do i do this
lipo
using the -detailed_info
flag You are able to determine the size of a specific piece (among other details). Using this type:
myStaticLibrary.a Fat Header $ Lipo in -detailed_info: myStaticLib.a fat_magic 0xcafebabe nfat_arch 4 Architecture ARMv7 cputype CPU_TYPE_ARM cpusubtype CPU_SUBTYPE_ARM_V7 offset ....... size .. . .... align 2 ^ 2 (4) architecture i386 cputype CPU_TYPE_I386 cpusubtype CPU_SUBTYPE_I386_ALL offset ....... size ....... align 2 ^ 2 (4) architecture x86_64 cputype CPU_TYPE_X86_64 cpusubtype CPU_SUBTYPE_X86_64_ALL offset .. . .... size ....... align 2 ^ 2 (4) Architecture arm64 cputype CPU_TYPE_ARM64 cpusubtype CPU_SUBTYPE_ARM64_ALL offset ....... size ....... align 2 ^ 2 (4 )
No comments:
Post a Comment