Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use APIKit to scan my codes to detect if there is private API. apiscanner should run as

apiscanner ~/Desktop/MyPath/ 

I used command 'cd' go to the directory where apiscanner is. But if I call apiscanner ~/Desktop/MyPath/ on terminal it reports

Last login: Sun Jun 13 07:22:07 on ttys002
  unknown required load command 0x80000022
Trace/BPT trap

Even if I copy the files apiscanner and doit to MyPath, then execute, I get the same problem. I think there is something wrong when I run apiscanner under Mac OS X.

Welcome any comment


share|improve this question
Generally when you run command, it searches system directories for the command. If you wish to use a command in the current directory, use ./command instead. – Darth Android Jun 13 '10 at 2:56
up vote 1 down vote accepted

You are running the command correctly if you are simply trying to pass ~/Desktop/MyPath/ as the first argument to the command apiscanner - and the command will work from any directory on your system assuming that apiscanner is installed correctly.

The output you are seeing is legitimate output from apiscanner, and you should check that it is fully supported for your version of OS X and properly installed.

If you're still having troubles, you can almost always google the application name and the error message - Mac apiscanner unknown required load command 0x80000022, or you can alter your question / ask a new one here to clarify what you're having trouble with.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .