diff --git a/compiler/compiler/src/main/java/org/robovm/compiler/target/ios/ProvisioningProfile.java b/compiler/compiler/src/main/java/org/robovm/compiler/target/ios/ProvisioningProfile.java index a79d08430..b13b1c196 100755 --- a/compiler/compiler/src/main/java/org/robovm/compiler/target/ios/ProvisioningProfile.java +++ b/compiler/compiler/src/main/java/org/robovm/compiler/target/ios/ProvisioningProfile.java @@ -156,6 +156,9 @@ public String getAppIdPrefix() { return appIdPrefix; } + public String getAppId () { + return appId; + } public Date getCreationDate() { return creationDate; } diff --git a/compiler/libimobiledevice/src/main/java/org/robovm/libimobiledevice/IDevice.java b/compiler/libimobiledevice/src/main/java/org/robovm/libimobiledevice/IDevice.java index 08edfe0d5..49706d23d 100755 --- a/compiler/libimobiledevice/src/main/java/org/robovm/libimobiledevice/IDevice.java +++ b/compiler/libimobiledevice/src/main/java/org/robovm/libimobiledevice/IDevice.java @@ -150,6 +150,14 @@ public static String[] listUdids() { } } + public static boolean isConnected (String uuid) { + String[] strings = listUdids(); + for (String string : strings) { + if (string.equalsIgnoreCase(uuid)) return true; + } + return false; + } + /** * Registers a new {@link EventListener} which will be called when devices * are added and removed. diff --git a/plugins/idea/src/main/java/org/robovm/idea/running/RoboVmIOSRunConfigurationSettingsEditor.form b/plugins/idea/src/main/java/org/robovm/idea/running/RoboVmIOSRunConfigurationSettingsEditor.form index 796d4db6f..67e6d182e 100755 --- a/plugins/idea/src/main/java/org/robovm/idea/running/RoboVmIOSRunConfigurationSettingsEditor.form +++ b/plugins/idea/src/main/java/org/robovm/idea/running/RoboVmIOSRunConfigurationSettingsEditor.form @@ -2,7 +2,7 @@