getSymbolGraph(for:options:)
Return a directory containing symbol graph files for the given target and options.
Declaration
func getSymbolGraph(for target: any Target, options: PackageManager.SymbolGraphOptions) throws -> PackageManager.SymbolGraphResultParameters
- target:
The target to build or from which to extract symbol graphs.
- options:
The options to use while building or extracting symbol graphs.
Return Value
The symbol graphs for the target you specify.
Discussion
If the symbol graphs need to be created or updated first, they will be. Swift package manager or an IDE may generate these symbol graph files in any way it sees fit.