lipo:tldr:73d32
This command uses the lipo tool in macOS to modify a binary file. Here is an explanation of the command:
-
lipo: It is a command-line tool in macOS used for creating or modifying universal binaries. -
${path-to-binary_file}: This represents the path to the original binary file that needs to be modified. -
-thin ${arm64e}: The-thinoption specifies that only a specific architecture should be retained in the binary.${arm64e}represents the desired architecture, which in this case is the arm64e architecture. -
-output ${path-to-binary_file-arm64e}: The-outputoption specifies the path and name of the resulting modified binary file.${path-to-binary_file-arm64e}represents the path where the modified binary file should be saved.
In summary, this command takes the original binary file (${path-to-binary_file}), removes all architectures except for ${arm64e}, and saves the modified binary to the specified path (${path-to-binary_file-arm64e}).