# 安装 本机安装 ``` mkdir build cd build && cmake .. && make ``` 使用 ```shell ./zsign ``` 参数 ```shell from sign.ipadump.com Usage: zsign [-options] [-k privkey.pem] [-m dev.prov] [-o output.ipa] file|folder options: -k, --pkey Path to private key or p12 file. (PEM or DER format) -m, --prov Path to mobile provisioning profile. -c, --cert Path to certificate file. (PEM or DER format) -d, --debug Generate debug output files. (.zsign_debug folder) -f, --force Force sign without cache when signing folder. -o, --output Path to output ipa file. -p, --password Password for private key or p12 file. -b, --bundle_id New bundle id to change. -n, --bundle_name New bundle name to change. -r, --bundle_version New bundle version to change. -t, --tmp_fold unzip ipa tmp file will be to save here. -e, --entitlements New entitlements to change. -z, --zip_level Compressed level when output the ipa file. (0-9),如果是-1则不压缩 -l, --dylib Path to inject dylib file,如果是一个目录则都注入里面的所有插件 -w, --weak Inject dylib as LC_LOAD_WEAK_DYLIB. -i, --install Install ipa file using ideviceinstaller command for test. -q, --quiet Quiet operation. -v, --version Shows version. -h, --help Shows help (this message). ``` docker打包 ```shell docker build . -t dounine/zsign:latest ```