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 Details

    • SDK

      public SDK()
  • Method Details

    • create

      public static SDK create​(File root) throws Exception
      Create an SDK instance for an SDK root bundled with Xcode.
      Throws:
      Exception
    • listDeviceSDKs

      public static List<SDK> listDeviceSDKs()
    • listSimulatorSDKs

      public static List<SDK> listSimulatorSDKs()
    • getDisplayName

      public String getDisplayName()
    • getMinimalDisplayName

      public String getMinimalDisplayName()
    • getCanonicalName

      public String getCanonicalName()
    • getVersion

      public String getVersion()
    • getRoot

      public File getRoot()
    • getDefaultProperties

      public com.dd.plist.NSDictionary getDefaultProperties()
    • getDefaultProperty

      public com.dd.plist.NSObject getDefaultProperty​(String key)
    • getBuild

      public String getBuild()
    • getPlatformBuild

      public String getPlatformBuild()
    • getPlatformVersion

      public String getPlatformVersion()
    • getPlatformName

      public String 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

      public int compareTo​(SDK o)
      Specified by:
      compareTo in interface Comparable<SDK>
    • toString

      public String toString()
      Overrides:
      toString in class Object