Class ApplePlatform

    • Field Detail

      • IPHONESIMULATOR

        public static final ApplePlatform IPHONESIMULATOR
      • WATCHSIMULATOR

        public static final ApplePlatform WATCHSIMULATOR
      • APPLETVSIMULATOR

        public static final ApplePlatform APPLETVSIMULATOR
      • ALL_PLATFORMS

        public static final com.google.common.collect.ImmutableList<ApplePlatform> ALL_PLATFORMS
      • ALL_PLATFORM_FLAVORS

        public static final com.google.common.collect.ImmutableList<Flavor> ALL_PLATFORM_FLAVORS
    • Constructor Detail

      • ApplePlatform

        public ApplePlatform()
    • Method Detail

      • getName

        public abstract String getName()
        The full name of the platform. For example: macosx.
      • getSwiftName

        public abstract Optional<String> getSwiftName()
        The Swift name for the platform. For example: ios. If absent, use getName() instead.
      • getProvisioningProfileName

        public abstract Optional<String> getProvisioningProfileName()
        The platform name used to match provisioning profiles. For example: iOS.

        Not all platforms use provisioning profiles; these will return absent.

      • getArchitectures

        @Default
        public com.google.common.collect.ImmutableList<String> getArchitectures()
      • getMinVersionFlagPrefix

        @Default
        public String getMinVersionFlagPrefix()
      • getStubBinaryPath

        public abstract Optional<String> getStubBinaryPath()
      • getAppIncludesFrameworks

        @Default
        public boolean getAppIncludesFrameworks()
      • getIsSimulator

        public boolean getIsSimulator()
      • needsCodeSign

        public static boolean needsCodeSign​(String name)
      • adHocCodeSignIsSufficient

        public static boolean adHocCodeSignIsSufficient​(String name)
      • needsInstallHelper

        public static boolean needsInstallHelper​(String name)
      • needsEntitlementsInBinary

        public static boolean needsEntitlementsInBinary​(String name)
      • isSimulator

        public static boolean isSimulator​(String name)
      • isPlatformFlavor

        public static boolean isPlatformFlavor​(Flavor flavor)
      • getPlatformName

        public final String getPlatformName()