saker.apple Documentation TaskDoc JavaDoc Packages
public class SakerAppleUtils
Utility class for interacting with the saker.apple package.
Fields
public static final String
SDK identifier for the path of the Apple platform SDK.
public static final String
SDK identifier for the platform path of the Apple platform SDK.
public static final String
SDK property identifier for the name of the Apple platform SDK.
public static final String
SDK property identifier for the platform name of the Apple platform SDK.
public static final String
SDK property identifier for the platform version of the Apple platform SDK.
public static final String
SDK property identifier for the product build version of the Apple platform SDK.
public static final String
SDK property identifier for the product copyright of the Apple platform SDK.
public static final String
SDK property identifier for the product name of the Apple platform SDK.
public static final String
SDK property identifier for the product user visible version of the Apple platform SDK.
public static final String
SDK property identifier for the product version of the Apple platform SDK.
public static final String
SDK property identifier for the version of the Apple platform SDK.
public static final String
SDK property identifier for the build version of macOS.
public static final String
SDK property identifier for the product name of macOS.
public static final String
SDK property identifier for the product version of macOS.
public static final String
SDK name for the SDK representing the developer macOS information.
public static final String
SDK_NAME_LIPO = "Lipo"
SDK name for the lipo tool.
public static final String
Apple platform SDK name for Apple TV.
public static final String
Apple platform SDK name for Apple TV simulator.
public static final String
Apple platform SDK name for iPhone.
public static final String
Apple platform SDK name for iPhone simulator.
public static final String
Apple platform SDK name for macOS.
public static final String
Apple platform SDK name for watchOS.
public static final String
Apple platform SDK name for watchOS simulator.
public static final String
SDK_NAME_STRIP = "Strip"
SDK name for the strip tool.
public static final String
SDK_NAME_XCODE = "Xcode"
SDK name for the Xcode SDK.
public static final String
SDK path identifier for Xcode based executable SDKs that represents the path to the executable.
public static final String
SDK property identifier for the build version of Xcode.
public static final String
SDK property identifier for the version of Xcode.
public static final String
SDK property identifier for the version of Xcode in the format that the DTXcode plist property expects.
public static final String
Name of the clang executable that comes with Xcode.
public static final String
Name of the clang++ executable that comes with Xcode.
public static final String
Name of the dsymutil executable that comes with Xcode.
public static final String
Name of the lipo executable that comes with Xcode.
public static final String
Name of the strip executable that comes with Xcode.
Methods
public static SDKDescription
Gets the default SDKDescription for the Apple TV platform.
public static SDKDescription
Gets the default SDKDescription for the Apple TV simulator platform.
public static SDKDescription
Gets the default SDKDescription for the developer macOS.
public static SDKDescription
Gets the default SDKDescription for the iPhone OS platform.
public static SDKDescription
Gets the default SDKDescription for the iPhone simulator platform.
public static SDKDescription
Gets the default SDKDescription for the macOS platform.
public static SDKDescription
Gets the default SDKDescription for the watchOS platform.
public static SDKDescription
Gets the default SDKDescription for the watchOS simulator platform.
public static SDKDescription
Gets the default SDKDescription for Xcode.
public static final String SDK_APPLEPLATFORM_PATH_PATH = "path"
SDK identifier for the path of the Apple platform SDK. This is the Path property of the SDK information displayed by xcodebuild -version -sdk.

E.g. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk

public static final String SDK_APPLEPLATFORM_PATH_PLATFORM_PATH = "platform.path"
SDK identifier for the platform path of the Apple platform SDK. This is the PlatformPath property of the SDK information displayed by xcodebuild -version -sdk.

E.g. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform

public static final String SDK_APPLEPLATFORM_PROPERTY_NAME = "name"
SDK property identifier for the name of the Apple platform SDK. This is the name part in parentheses of the SDK information displayed by xcodebuild -version -sdk.

E.g. macosx10.12

public static final String SDK_APPLEPLATFORM_PROPERTY_PLATFORM_NAME = "platform.name"
SDK property identifier for the platform name of the Apple platform SDK. The property value is determined based on SDK_APPLEPLATFORM_PROPERTY_NAME by leaving out the version number.

E.g. macosx

public static final String SDK_APPLEPLATFORM_PROPERTY_PLATFORM_VERSION = "platform.version"
SDK property identifier for the platform version of the Apple platform SDK. This is the PlatformVersion property of the SDK information displayed by xcodebuild -version -sdk.

E.g. 1.1

public static final String SDK_APPLEPLATFORM_PROPERTY_PRODUCT_BUILD_VERSION = "product.build.version"
SDK property identifier for the product build version of the Apple platform SDK. This is the ProductBuildVersion property of the SDK information displayed by xcodebuild -version -sdk.

E.g. 16C58

public static final String SDK_APPLEPLATFORM_PROPERTY_PRODUCT_NAME = "product.name"
SDK property identifier for the product name of the Apple platform SDK. This is the ProductName property of the SDK information displayed by xcodebuild -version -sdk.

E.g. Mac OS X

public static final String SDK_APPLEPLATFORM_PROPERTY_PRODUCT_USER_VISIBLE_VERSION = "product.user.visible.version"
SDK property identifier for the product user visible version of the Apple platform SDK. This is the ProductUserVisibleVersion property of the SDK information displayed by xcodebuild -version -sdk.

E.g. 10.12.2

public static final String SDK_APPLEPLATFORM_PROPERTY_PRODUCT_VERSION = "product.version"
SDK property identifier for the product version of the Apple platform SDK. This is the ProductVersion property of the SDK information displayed by xcodebuild -version -sdk.

E.g. 10.12.2

public static final String SDK_APPLEPLATFORM_PROPERTY_SDK_VERSION = "sdk.version"
SDK property identifier for the version of the Apple platform SDK. This is the SDKVersion property of the SDK information displayed by xcodebuild -version -sdk.

E.g. 10.12

public static final String SDK_DEVELOPER_MAC_OS_PROPERTY_BUILD_VERSION = "build.version"
SDK property identifier for the build version of macOS. This is the BuildVersion property of the sw_vers command output.

E.g. 15G22010

public static final String SDK_DEVELOPER_MAC_OS_PROPERTY_PRODUCT_NAME = "product.name"
SDK property identifier for the product name of macOS. This is the ProductName property of the sw_vers command output.

E.g. Mac OS X

public static final String SDK_DEVELOPER_MAC_OS_PROPERTY_PRODUCT_VERSION = "product.version"
SDK property identifier for the product version of macOS. This is the ProductVersion property of the sw_vers command output.

E.g. 10.11.6

public static final String SDK_NAME_DEVELOPER_MAC_OS = "DevMacOS"
SDK name for the SDK representing the developer macOS information.
public static final String SDK_NAME_LIPO = "Lipo"
SDK name for the lipo tool.
public static final String SDK_NAME_PLATFORM_APPLETVOS = "AppleTVOS"
Apple platform SDK name for Apple TV.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_PLATFORM_APPLETVSIMULATOR = "AppleTVSimulator"
Apple platform SDK name for Apple TV simulator.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_PLATFORM_IPHONEOS = "iPhoneOS"
Apple platform SDK name for iPhone.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_PLATFORM_IPHONESIMULATOR = "iPhoneSimulator"
Apple platform SDK name for iPhone simulator.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_PLATFORM_MACOS = "MacOS"
Apple platform SDK name for macOS.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_PLATFORM_WATCHOS = "WatchOS"
Apple platform SDK name for watchOS.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_PLATFORM_WATCHSIMULATOR = "WatchSimulator"
Apple platform SDK name for watchOS simulator.

SDK constants in this class starting with SDK_APPLEPLATFORM_* can be used with this SDK.

public static final String SDK_NAME_STRIP = "Strip"
SDK name for the strip tool.
public static final String SDK_NAME_XCODE = "Xcode"
SDK name for the Xcode SDK.
public static final String SDK_XCODE_EXECUTABLE_PATH_EXECUTABLE = "exe"
SDK path identifier for Xcode based executable SDKs that represents the path to the executable.
public static final String SDK_XCODE_PROPERTY_BUILD_VERSION = "build.version"
SDK property identifier for the build version of Xcode. This is the build version number displayed by the xcodebuild -version command.

E.g. 8C1002

public static final String SDK_XCODE_PROPERTY_VERSION = "version"
SDK property identifier for the version of Xcode. This is the version number displayed by the xcodebuild -version command.

E.g. 8.2.1

public static final String SDK_XCODE_PROPERTY_VERSION_DTXCODE = "version.dtxcode"
SDK property identifier for the version of Xcode in the format that the DTXcode plist property expects.

E.g. 0821

public static final String XCODE_EXECUTABLE_NAME_CLANG = "clang"
Name of the clang executable that comes with Xcode.
public static final String XCODE_EXECUTABLE_NAME_CLANGXX = "clang++"
Name of the clang++ executable that comes with Xcode.
public static final String XCODE_EXECUTABLE_NAME_DSYMUTIL = "dsymutil"
Name of the dsymutil executable that comes with Xcode.
public static final String XCODE_EXECUTABLE_NAME_LIPO = "lipo"
Name of the lipo executable that comes with Xcode.
public static final String XCODE_EXECUTABLE_NAME_STRIP = "strip"
Name of the strip executable that comes with Xcode.
Gets the default SDKDescription for the Apple TV platform.
The default SDKDescription.
Gets the default SDKDescription for the Apple TV simulator platform.
The default SDKDescription.
Gets the default SDKDescription for the developer macOS.
The default SDKDescription.
Gets the default SDKDescription for the iPhone OS platform.
The default SDKDescription.
Gets the default SDKDescription for the iPhone simulator platform.
The default SDKDescription.
Gets the default SDKDescription for the macOS platform.
The default SDKDescription.
Gets the default SDKDescription for the watchOS platform.
The default SDKDescription.
Gets the default SDKDescription for the watchOS simulator platform.
The default SDKDescription.
Gets the default SDKDescription for Xcode.
The default SDKDescription.