Class AppleSdkPaths


  • public abstract class AppleSdkPaths
    extends Object
    Paths to Apple SDK directories under an installation of Xcode.
    • Constructor Detail

      • AppleSdkPaths

        public AppleSdkPaths()
    • Method Detail

      • getDeveloperPath

        public abstract Optional<Path> getDeveloperPath()
        Absolute path to the active DEVELOPER_DIR.

        Example:

        /Applications/Xcode.app/Contents/Developer

      • getToolchainPaths

        public abstract com.google.common.collect.ImmutableSet<Path> getToolchainPaths()
        Absolute paths to tools and files independent of the platform.

        Example:

        [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain]

      • getPlatformPath

        public abstract Path getPlatformPath()
        Absolute path to tools and files which depend on a particular platform.

        Example:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform

      • getSdkPath

        public abstract Path getSdkPath()
        Absolute path to tools and files which depend on a particular SDK on a particular platform.

        Example:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk