OVERVIEW: Swift API Extract USAGE: swift-frontend OPTIONS: -clang-target Separately set the target we should use for internal Clang instance -external-plugin-path # Add directory to the plugin search path with a plugin server executable -Fsystem Add directory to system framework search path -F Add directory to framework search path -help Display available options -I Add directory to the import search path -libc libc runtime library to use -L Add directory to library link search path -module-cache-path Specifies the module cache path -module-name Name of the module to build -o Write output to -plugin-path Add directory to the plugin search path -pretty-print Pretty-print the output JSON -project-name Name of the project this module to build belongs to -sdk Compile against -swift-version Interpret input according to a specific Swift language version number -target Generate code for the given target , such as x86_64-apple-macos10.9 -vfsoverlay Add directory to VFS overlay file -visualc-tools-root VisualC++ Tools Root -visualc-tools-version VisualC++ ToolSet Version -windows-sdk-root Windows SDK Root -windows-sdk-version Windows SDK Version