public abstract class AppleSdkPaths extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AppleSdkPaths.Builder |
Constructor and Description |
---|
AppleSdkPaths() |
Modifier and Type | Method and Description |
---|---|
static AppleSdkPaths.Builder |
builder() |
abstract Optional<Path> |
getDeveloperPath()
Absolute path to the active DEVELOPER_DIR.
|
abstract Path |
getPlatformPath()
Absolute path to tools and files which depend on a particular platform.
|
abstract Path |
getSdkPath()
Absolute path to tools and files which depend on a particular SDK on a particular platform.
|
abstract com.google.common.collect.ImmutableSet<Path> |
getToolchainPaths()
Absolute paths to tools and files independent of the platform.
|
public abstract Optional<Path> getDeveloperPath()
Example:
/Applications/Xcode.app/Contents/Developer
public abstract com.google.common.collect.ImmutableSet<Path> getToolchainPaths()
Example:
[/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain]
public abstract Path getPlatformPath()
Example:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
public abstract Path getSdkPath()
Example:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk
public static AppleSdkPaths.Builder builder()