You are running the command correctly if you are simply trying to pass ~/Desktop/MyPath/myapp.app
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.