Technical Q&A QA1436

What is the "main bundle" of a command-line foundation tool?

Q:  What is the main bundle of a command-line foundation tool?

A: The main bundle of a command-line foundation tool is considered to be the tool's enclosing directory. That directory is what will be returned by the [NSBundle mainBundle] call. For exampe, a foundation tool binary located in: /path/to/tool would have the main bundle path returned as: /path/to/tool.



Document Revision History


DateNotes
2006-10-10

New document that reveals the location of the main bundle of a command-line foundation tool.