Hi,
Could not find a device to launch error pops up when I try to open Safari on a iPhone 5 iOS 9.0 simulator using Appium.
I’m new to Selenium and Appium.
Please advise how to fix this issue?
Thanks.
Actual Results:
A new session could not be created. (Original error: Could not find a device to launch. You requested ‘iPhone (9.0 Simulator)’, but the available devices were: [iPhone 5 (9.0) [B3317769-0F50-4649-892B-BE0F44163F93].
Simulator does not open.
iOS 9 is supported only on Appium 1.4.11 and above (1.5 beta). Refer the following link to reconfig your appium client to 1.4.11 to fix the above issue.
Thanks for responding.
I’m using 1.4.8 in Appium App Gui and 1.4.10 Appium if installed via the terminal.
How do I uninstall the 1.4.10 Appium version via the terminal?
I’m new to the Mac terminal. Can you provide details steps?
How do I install 1.4.11? I don’t think they have a 1.4.11 app GUI version yet.
I see Sruthi’s steps below, but I don’t understand how to get Appium client in step 3.
I don’t understand how to do step 5 and 6.
Can someone provide more step by step details.
I’m very new at this.
Thank you so much.
Here are the steps to re-config your Appium (Mac app/Windows EXE) client point to latest Appium version 1.4.11.
How do I clone Appium git? I assume through a command via the Mac terminal?
When I install 1.4.11 via the terminal, how do I get access to the app GUI?
Where do I retrieve it to copy to my applications folder?
I’m using the 1.4.8 app GUI currently where I installed via the dmg from the appium.io site.
I also installed 1.4.10 version that via the terminal, but this version I don’t know how to access its GUI app.
Where is my local node bin folder?
Where is my appium local clone folder?
Sorry for all the stupid basic questions. I’m really new at this. Thanks.
While doing ./reset.sh, I encountered the following errors. How can I overcome this error?
Issue 1
WARNING: you do not appear to have iOS7/8 SDK active
A warning but no error. Do I have to make IOS7/8 SDK active? I thought we were using IOS9 now?
Issue 2
RESETTING ANDROID
Configuring Android bootstrap
Running “configAndroidBootstrap” task
Error: Target id is not valid. Use ‘android list targets’ to get the target ids.
Warning: Setup cmd /Users/mac/Documents/android-sdk-macosx/tools/android failed with code 1 Use --force to continue.
Aborted due to warnings.
---- FAILURE: reset.sh exited with status 1 ----
The path /Users/mac/Documents/android-sdk-macosx/tools/android has no android folder but an android executable.
I typed android list targets and it lists the following two targets:
Available Android targets:
id: 2 or “Google Inc.:Google APIs:23”
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 6.0 (API level 23)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : google_apis/armeabi-v7a, google_apis/x86, google_apis/x86_64
Thanks hemche.
Do you or anyone might know how I can fix the android targets error?
Has anyone seen this issue before? How did you guys resolved it?
Thanks for your help.
Had to uninstall from previous method because the SafariLauncher.zip wasn’t there with the above method. So I used the below steps and got 1.4.11 installed. The key is what hemche said to use --ios and I added --real-safari
Run npm view appium versions to see what is the latest version
Uninstall old version first by npm uninstall -g appium
I new to Appium. I am facing a problem to send values to a mobile safari browser on real iOS device (iPod Touch). Could you please help me in troubleshooting the issue.
I am working on a Native app. In my app we have a button called “Forgot Your PIN”. When we click on that button, the app will redirect to a default mobile browser (i,e safari browser). Where I have fields like Mobile Number text field, Last Name text field and Data of Birth picket.
I am getting elements id or xpath using Appium Inspector. But when I am trying to send values to any of fields there is not taking action performed on iPod Touch mobile safari browser.
I have seen your video’s in YouTube, I feel you can help me in solving the issue.