Enum PBXReference.SourceTree

    • Enum Constant Detail


        public static final PBXReference.SourceTree BUILT_PRODUCTS_DIR
        Relative to the build setting BUILT_PRODUCTS_DIR.

        public static final PBXReference.SourceTree PLATFORM_DIR
        Relative to the build setting PLATFORM_DIR.

        public static final PBXReference.SourceTree SOURCE_ROOT
        Relative to the directory containing the project file SOURCE_ROOT.

        public static final PBXReference.SourceTree DEVELOPER_DIR
        Relative to the Developer content directory inside the Xcode application (e.g. /Applications/Xcode.app/Contents/Developer).
    • Method Detail

      • values

        public static PBXReference.SourceTree[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PBXReference.SourceTree c : PBXReference.SourceTree.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PBXReference.SourceTree valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromBuildSetting

        public static Optional<PBXReference.SourceTree> fromBuildSetting​(String buildSetting)
        Return a sourceTree given a build setting that is typically used as a source tree prefix.

        The build setting may be optionally prefixed by '$' which will be stripped.