Package org.robovm.compiler.target.ios
Class SDK
java.lang.Object
org.robovm.compiler.target.ios.SDK
- All Implemented Interfaces:
Comparable<SDK>
public class SDK extends Object implements Comparable<SDK>
Contains info on an SDK installed on the system.
-
Constructor Summary
Constructors Constructor Description SDK() -
Method Summary
Modifier and Type Method Description intcompareTo(SDK o)static SDKcreate(File root)Create an SDK instance for an SDK root bundled with Xcode.StringgetBuild()StringgetCanonicalName()com.dd.plist.NSDictionarygetDefaultProperties()com.dd.plist.NSObjectgetDefaultProperty(String key)StringgetDisplayName()intgetMajor()StringgetMinimalDisplayName()intgetMinor()StringgetPlatformBuild()StringgetPlatformName()StringgetPlatformVersion()intgetRevision()FilegetRoot()StringgetVersion()intgetVersionCode()static List<SDK>listDeviceSDKs()static List<SDK>listSimulatorSDKs()StringtoString()
-
Constructor Details
-
SDK
public SDK()
-
-
Method Details
-
create
Create an SDK instance for an SDK root bundled with Xcode.- Throws:
Exception
-
listDeviceSDKs
-
listSimulatorSDKs
-
getDisplayName
-
getMinimalDisplayName
-
getCanonicalName
-
getVersion
-
getRoot
-
getDefaultProperties
public com.dd.plist.NSDictionary getDefaultProperties() -
getDefaultProperty
-
getBuild
-
getPlatformBuild
-
getPlatformVersion
-
getPlatformName
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getRevision
public int getRevision() -
getVersionCode
public int getVersionCode()- Returns:
- version code packed in int as it is used widely in Apple Mach-o
-
compareTo
- Specified by:
compareToin interfaceComparable<SDK>
-
toString
-