plutil
v1.0.8
Published
这是一个命令,方便在 macos 系统上,解析 `plist` 格式的内容或文件。
Downloads
26
Maintainers
Readme
plutil
方便在 macos 系统上,解析 plist
格式内容或文件的命令。
npm i -g plutil
使用方法
node-plutil -h
必传:--file --ipa --expr --white 四个参数选项,选择其中一个传参!
选项:
-f, --file 本地 .plist 或 .mobileprovision 的文件路径 [字符串]
-p, --ipa 本地 .ipa 的文件路径,和要提取的文件名称。要传两个参数! [数组]
-w, --white 本地 .ipa 或 .mobileprovision 的文件路径,提取白名单 [字符串]
-e, --expr 输出 plist 格式内容的命令 [字符串]
-k, --key 要提取的键值对,可选 [字符串]
-o, --out 导出文件路径,可选 [字符串]
-h, --help 显示帮助信息 [布尔]
-v, --version 显示版本号 [布尔]
示例:
node-plutil --file Info.plist --key CFBundleDisplayName
node-plutil --file dev.mobileprovision --key ProvisionedDevices
node-plutil --ipa pp.ipa Info.plist --out Info.json
node-plutil --ipa pp.ipa embedded.mobileprovision --out embedded.json
node-plutil --white pp.ipa
node-plutil --white dev.mobileprovision
node-plutil --expr "ideviceinstaller -u 00008020-000319412E99002E -l -o xml" --key CFBundleDisplayName
node-plutil --expr "/usr/bin/security cms -D -i ~/Desktop/dev.mobileprovision"
方便在 macos 系统上,解析 `plist` 格式的内容或文件
- 如果中间出现任何错误,不会有任何输出内容!
- 如果参数包含空格,必需用 引号 包裹!