From ff3692c005172895c260f15a6d153a9fe30323e9 Mon Sep 17 00:00:00 2001 From: chris <35269695+chrissxYT@users.noreply.github.com> Date: Sun, 15 Aug 2021 17:46:07 +0200 Subject: [PATCH] lipo: add page (#6306) --- pages/osx/lipo.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/osx/lipo.md diff --git a/pages/osx/lipo.md b/pages/osx/lipo.md new file mode 100644 index 0000000000..1727312c72 --- /dev/null +++ b/pages/osx/lipo.md @@ -0,0 +1,20 @@ +# lipo + +> Tool for handling Mach-O Universal Binaries. +> More information: . + +- Create a universal file from two single-architecture files: + +`lipo {{path/to/binary.x86_64}} {{path/to/binary.arm64e}} -create -output {{path/to/binary}}` + +- List all architectures contained in a universal file: + +`lipo {{path/to/binary}} -archs` + +- Display detailed information about a universal file: + +`lipo {{path/to/binary}} -detailed_info` + +- Extract a single-architecture file from a universal file: + +`lipo {{path/to/binary}} -thin {{arm64e}} -output {{path/to/binary.arm64e}}`