PBXTarget

public class PBXTarget : PBXContainerItem

This element is an abstract parent for specialized targets.

  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Returns the product name with the extension joined with a period.

    Declaration

    Swift

    public func productNameWithExtension() -> String?

    Return Value

    product name with extension.

  • Returns the sources build phase.

    Throws

    an error if the build phase cannot be obtained.

    Declaration

    Swift

    public func sourcesBuildPhase() throws -> PBXSourcesBuildPhase?

    Return Value

    sources build phase.

  • Returns the resources build phase.

    Throws

    an error if the build phase cannot be obtained.

    Declaration

    Swift

    public func resourcesBuildPhase() throws -> PBXResourcesBuildPhase?

    Return Value

    sources build phase.

  • Returns the target source files.

    Throws

    an error if something goes wrong.

    Declaration

    Swift

    public func sourceFiles() throws -> [PBXFileElement]

    Return Value

    source files.