Hi all, i have been having this issue on appium (v1.3.4) since installing it (Please view the screen shot)
Mac os x Mavericks
As a result, when trying to launch an app through selenium i get error: java.lang.UnsupportedClassVersionError: io/appium/java_client/ios/IOSDriver : Unsupported major.minor version 51.0
This is the code i run through eclipse:
package iOS_Appium_config;
import io.appium.java_client.ios.IOSDriver;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.Test;
public class UICATALOG_sample {
@Test
public void launchapp() throws MalformedURLException {
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability("platformVersion", "8.3");
cap.setCapability("platformName", "iOS");
cap.setCapability("deviceName", "iPhone 6 Plus (5E05918A-9DF9-401A-83B3-168691F831B1)");
File app = new File(System.getProperty("user.dir")+"/Users/begop/Documents/TestApp/test app/UICatalog.app");
cap.setCapability("app", app.getAbsolutePath());
IOSDriver driver = new IOSDriver (new URL("http://0.0.0.0:4723/wd/hub"), cap);
driver.quit();
}
}
Thank you very much for your help!