A package for Emacs which parses Xcode project files.
- Parse Xcode project file (project.pbxproj)
- Extract information about targets, build configurations, build phases, build settings and files etc.
To obtain the parsed project object (alist):
(xcode-project-read PATH-TO-XCODEPROJ)
Helper to locate the Xcode project (.xcodeproj) path for any given source file:
(xcode-project-find-xcodeproj PATH-TO-FILE)
Then extract information such as targets, build phases, configurations and files.
Most functions return an object (alist), unless otherwise described (e.g. `xcode-project-target-names').
Some functions have optional arguments for further filtering (e.g. filter targets by type or name).
(xcode-project-targets PROJ)
(xcode-project-target-names PROJ)
(xcode-project-build-phases PROJ TARGET-NAME)
(xcode-project-build-config-names PROJ)
(xcode-project-build-config PROJ CONFIG-NAME TARGET-NAME)
(xcode-build-config-setings' CONFIG)
(xcode-project-build-files' PROJ TARGET-NAME)
(xcode-project-build-file-paths' PROJ TARGET-NAME)
If you're an Emacs 24 user or you have a recent version of package.el
, you can install xcode-project.el
from the MELPA or the MELPA Stable repository.
This software is licensed under the GNU GPLv3 License
See the LICENSE file for details.