Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
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
Date | Notes |
---|---|
2006-10-10 | New document that reveals the location of the main bundle of a command-line foundation tool. |
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-10-10