public class AppleSdkDiscovery extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ImmutableMap<AppleSdk,AppleSdkPaths> |
discoverAppleSdkPaths(Optional<Path> developerDir,
com.google.common.collect.ImmutableList<Path> extraDirs,
com.google.common.collect.ImmutableMap<String,AppleToolchain> xcodeToolchains,
AppleConfig appleConfig)
Given a path to an Xcode developer directory and a map of (xctoolchain ID: path) pairs as
returned by
AppleToolchainDiscovery, walks through the platforms and builds a map of
(AppleSdk: AppleSdkPaths) objects describing the paths to the SDKs inside. |
public static com.google.common.collect.ImmutableMap<AppleSdk,AppleSdkPaths> discoverAppleSdkPaths(Optional<Path> developerDir, com.google.common.collect.ImmutableList<Path> extraDirs, com.google.common.collect.ImmutableMap<String,AppleToolchain> xcodeToolchains, AppleConfig appleConfig) throws IOException
AppleToolchainDiscovery, walks through the platforms and builds a map of
(AppleSdk: AppleSdkPaths) objects describing the paths to the SDKs inside.
The AppleSdk.getName() strings match the ones displayed by xcodebuild
-showsdks and look like macosx10.9, iphoneos8.0, iphonesimulator8.0,
etc.
IOException