运行 ipatool 错误。
xcrun ipatool ~/app.ipa --output=foo --info --json=foo/ipatool.info.json
它打印以下错误
"alerts": [
{
"level": "ERROR",
"type": "exception",
"code": 1094,
"description": "ipatool failed with an exception: #<RuntimeError: Couldn't locate otool-classic in /Applications/Xcode13.0.app/Contents/Developer/usr/bin ... /Applications/Xcode13.0.app/Contents/Developer/usr/bin/ipatool:298:in `locate_tool'\n /Applications/Xcode13.0.app/Contents/Developer/usr/bin/ipatool:2083:in `<main>'",
"info": {
}
}
]
我应该从哪里来otool-classic
。我的机器有otool
xcode 工具链附带的。