lipo
Tool for handling Mach-O Universal Binaries. More information: https://ss64.com/osx/lipo.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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.