1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/osx/lipo.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

640 B

lipo

Handle Mach-O Universal Binaries. More information: https://keith.github.io/xcode-man-pages/lipo.1.html.

  • Create a universal file from two single-architecture files:

lipo {{path/to/binary_file.x86_64}} {{path/to/binary_file.arm64e}} -create -output {{path/to/binary_file}}

  • List all architectures contained in a universal file:

lipo {{path/to/binary_file}} -archs

  • Display detailed information about a universal file:

lipo {{path/to/binary_file}} -detailed_info

  • Extract a single-architecture file from a universal file:

lipo {{path/to/binary_file}} -thin {{arm64e}} -output {{path/to/binary_file.arm64e}}