Running ipatool errors out.
xcrun ipatool ~/app.ipa --output=foo --info --json=foo/ipatool.info.json
It prints the following error
"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": {
}
}
]
Where should I get otool-classic
from. My machine has the otool
that comes with the xcode toolchain.
I figure out a solution. You need to locate the tool in question and copy it in one of the directories scanned by xcrun.
Here an example:
Output:
Then copy it:
Finally, you can run your command: