striptease

enhanced version of the Mac OS X strip tool

A copy of the Camino browser striptease tool that was originally attached to Camino bug # 41194 and eventually made its way into the camino source repository on 2008-01-22.

The original version of striptease in the Camino repository is based on Apple’s cctools-667.3 sources which correspond to Xcode 3.0 / Mac OS X 10.5.0 and does not appear to have been updated since it was added to the Camino repository.

This repository contains an updated version of the striptease tool that is now based on Apple’s cctools-822 sources which correspond to Xcode 4.3 / Mac OS X 10.7 and which builds on Mac OS X 10.4 and later (Mac OS X 10.6 and 10.7 require the Mac OS X 10.5 SDK to be present) and runs on Mac OS X 10.4 and later.

Enhancements

The tease version of the strip tool has been enhanced to accept five additional options:

Also see the README.txt file for more information.

Example

Suppose you have the file MySignedBinary which has both a UUID and a code signature and you would like to create MyUnsignedBinary which has neither a UUID nor a code signature but retains all the symbols and debugging information (if any) present in MySignedBinary. You can use the tease tool to create MyUnsignedBinary from MySignedBinary like so:

tease -a -no_uuid -no_code_signature -o MyUnsignedBinary MySignedBinary

Install

See the README.txt file, but it’s as simple as doing the following steps:

git clone git://github.com/mackyle/striptease
cd striptease
make
sudo mkdir -p /usr/local/bin
sudo install build/Release/tease /usr/local/bin/

License

APSL / MIT: Most all of the source is original Apple source code (see the source files themselves) and almost all of those are covered under the APSL. There are a few files (again see the source files themselves) that are covered under the MIT/X11 license.

Download

You can download this project’s source code in either tar or zip formats.

You can also clone the project with Git by running:

git clone git://github.com/mackyle/striptease

Pre-built universal binaries of the tease and install_name_tool executables runnable on Mac OS X 10.4 or later are available from the striptease project’s downloads area.

Git Repository Browser

Repository browsers are available at: