Hello,
Every time i attempt to run the IOS recorder I receive this error. I can not find any documentation on the error.
Can anyone assist?
Thanks,
Tom
Hello,
Every time i attempt to run the IOS recorder I receive this error. I can not find any documentation on the error.
Can anyone assist?
Thanks,
Tom
Hi @thester,
Can you please confirm the version of Appium youâre using? For best compatibility with iOS testing, Appium Server 1.8.2-beta is recommended:
Here are some docs on installing WebDriverAgent which may also help:
https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html
Hope this helps,
Chris
Thank your for your response Chris. I am on Appium 1.8.2-Beta. I found that i had to do this in the command line:
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
npm i -g webpack
./Scripts/bootstrap.sh -d
This enabled me to record test cases.
I am now finding a new problem with running an IOS test case.
Im getting:
XCUITest] Simulator architecture appears to be unsupported by the â/var/folders/bd/qhq04zz53fl50lsxrn88t9880000gn/T/201925-82229-1el1v1n.cvt2/Payload/MortgageApp.appâ application. Make sure the correct deployment target has been selected for its compilation in Xcode.
[XCUITest] Donât be surprised if the application fails to launch.
[XCUITest] *********************************
Hi @thester,
This could be an issue with how the .app file was built. To run on a simulator, it needs to be built with the x86
architecture; this is different from the arm
architectures on real devices.
You can check the architectures supported by your app with:
lipo -info MortgageApp.app/MortgageApp
If it doesnât show something starting with x86
, then you can rebuild it for a simulator:
DerivedData
directory (you can set this directory in the Xcode->Preferences->Locations options)Hope this helps,
Chris
Hi Chris,
I was able to locate the .app through DerivedData. However, Im now getting an error that says:
Appium] Welcome to Appium v1.8.2-beta
[Appium] Non-default server args:
[Appium] port: 54584
[Appium] loglevel: info
[Appium] chromeDriverPort: 54585
[Appium] tmpDir: /var/folders/bd/qhq04zz53fl50lsxrn88t9880000gn/T//Katalon/Appium/Temp1551913936491
[Appium] Appium REST http interface listener started on 0.0.0.0:54584
[HTTP] â GET /wd/hub/status
[HTTP] {}
[HTTP] â GET /wd/hub/status 200 22 ms - 88
[HTTP]
[HTTP] â GET /wd/hub/status
[HTTP] {}
[HTTP] â GET /wd/hub/status 200 22 ms - 88
[HTTP]
[HTTP] â POST /wd/hub/session
[HTTP] {âdesiredCapabilitiesâ:{âappâ:â/Users/tomhester/Dev/MortgageApp-bnsxddddbrzlcwbbtohubhgseugo/Build/Products/Debug-iphonesimulator/MortgageApp.appâ,âautomationNameâ:âXCUITestâ,âdeviceNameâ:âiPhone XS Maxâ,âfullResetâ:false,ânewCommandTimeoutâ:1800,ânoResetâ:true,âplatformNameâ:âiOSâ,ârealDeviceLoggerâ:â/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsoleâ,âudidâ:â92679EED-F88B-4457-AAD6-842CCD72208Fâ,âwaitForAppScriptâ:âtrue;â,âwdaLocalPortâ:54615},âcapabilitiesâ:{âdesiredCapabilitiesâ:{âappâ:â/Users/tomhester/Dev/MortgageApp-bnsxddddbrzlcwbbtohubhgseugo/Build/Products/Debug-iphonesimulator/MortgageApp.appâ,âautomationNameâ:âXCUITestâ,âdeviceNameâ:âiPhone XS Maxâ,âfullResetâ:false,ânewCommandTimeoutâ:1800,ânoResetâ:true,âplatformNameâ:âiOSâ,ârealDeviceLoggerâ:â/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsoleâ,âudidâ:â92679EED-F88B-4457-AAD6-842CCD72208Fâ,âwaitForAppScriptâ:"
[Appium] Could not parse W3C capabilities: âdeviceNameâ canât be blank. Falling back to JSONWP protocol.
[Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: [âappâ,âautomationNameâ,âdeviceNameâ,âfullResetâ,ânewCommandTimeoutâ,ânoResetâ,âplatformNameâ,ârealDeviceLoggerâ,âudidâ,âwaitForAppScriptâ,âwdaLocalPortâ]. Falling back to JSONWP protocol.
[Appium] Creating new XCUITestDriver (v2.109.0) session
[Appium] Capabilities:
[Appium] app: /Users/tomhester/Dev/MortgageApp-bnsxddddbrzlcwbbtohubhgseugo/Build/Products/Debug-iphonesimulator/MortgageApp.app
[Appium] automationName: XCUITest
[Appium] deviceName: iPhone XS Max
[Appium] fullReset: false
[Appium] newCommandTimeout: 1800
[Appium] noReset: true
[Appium] platformName: iOS
[Appium] realDeviceLogger: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole
[Appium] udid: 92679EED-F88B-4457-AAD6-842CCD72208F
[Appium] waitForAppScript: true;
[Appium] wdaLocalPort: 54615
[BaseDriver] Session created with session id: 70dd2f7b-9365-428b-b60d-d2330ad4e68c
[iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid â92679EED-F88B-4457-AAD6-842CCD72208Fâ
[XCUITest] Determining device to run tests on: udid: â92679EED-F88B-4457-AAD6-842CCD72208Fâ, real device: false
[XCUITest] No platformVersion specified. Using device version: â12.1â
[BaseDriver] Using local app â/Users/tomhester/Dev/MortgageApp-bnsxddddbrzlcwbbtohubhgseugo/Build/Products/Debug-iphonesimulator/MortgageApp.appâ
[XCUITest] Setting up simulator
[iOSSim] Booting Simulator with UDID 92679EED-F88B-4457-AAD6-842CCD72208FâŚ
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 92679EED-F88B-4457-AAD6-842CCD72208F -ConnectHardwareKeyboard 0
[iOSSim] Simulator with UDID 92679EED-F88B-4457-AAD6-842CCD72208F booted in 13 seconds
[XCUITest] Using WDA path: â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgentâ
[XCUITest] Using WDA agent: â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeprojâ
[WD Proxy] Got an unexpected response: {âerrnoâ:âECONNREFUSEDâ,âcodeâ:âECONNREFUSEDâ,âsyscallâ:âconnectâ,âaddressâ:â127.0.0.1â,âportâ:54615}
[XCUITest] Launching WebDriverAgent on the device
[WD Proxy] Got an unexpected response: {âcodeâ:âECONNRESETâ}
[XCUITest] xcodebuild exited with code ânullâ and signal âSIGKILLâ
[WD Proxy] Got an unexpected response: {âerrnoâ:âECONNREFUSEDâ,âcodeâ:âECONNREFUSEDâ,âsyscallâ:âconnectâ,âaddressâ:â127.0.0.1â,âportâ:54339}
[WD Proxy] Got an unexpected response: This text will be hidden
Hi Tom,
This issue could be caused by a couple of things:
Sometimes there are rogue appium processes that donât exit when there are Katalon errors. These can interview with new tests and causes them to be unresponsive. To try to clear these out, the most straightforward way is to quit Katalon, close the simulators, and restart your computer.
Alternatively, you can check to see if there are running appium processes in the Terminal using ps -ef | grep appium
. You might see something like this:
501 48742 1 0 Fri02PM ?? 0:04.12 /usr/local/Cellar/node/9.11.1/bin/node /Users/chris/.nvm/versions/node/v9.2.0/lib/node_modules/appium/build/lib/main.js --tmp /var/folders/90/26pjk1q50wd9xfn9q3q6tkyc0000gn/T//Katalon/Appium/Temp1551470186488 -p 55334 --chromedriver-port 55335 --log-level info --webkit-debug-proxy-port 0
501 60974 1 0 Sat11PM ?? 0:40.81 /usr/local/Cellar/node/9.11.1/bin/node /Users/chris/.nvm/versions/node/v9.2.0/lib/node_modules/appium/build/lib/main.js --tmp /var/folders/90/26pjk1q50wd9xfn9q3q6tkyc0000gn/T//Katalon/Appium/Temp1551587426507 -p 51192 --chromedriver-port 51193 --log-level info --webkit-debug-proxy-port 0
In these cases, the 2nd column is the process id, e.g. 48742
and 60974
. To kill those processes, you can use kill <processid>
in the Terminal where <processid>
is the id from the listing. If they donât seem to close, you can be more forceful with kill -9 <processid>
.
Try re-running your tests after the processes have been cleared up.
To verify that the new .app file that youâre building actually works, you can drag and drop the app from your DerivedData directory onto the simulator. I would recommend doing Hardware->Erase All Contents and Settings first just to make sure the simulator is cleaned. Try launching the app from the simulator. If itâs built correctly, it should run.
If clearing the appium processes doesnât work, you can check that the WebDriverAgent project is building correctly. There are some very detailed instructions on how to build and verify WebDriverAgent:
Hope this helps,
Chris
Thanks Chris! I think that did it. Appreciate your help!
Dear Chris_Trevarthen, can you please add screenshot how to solve the issue, note that when i try to start a simulator iâm getting the below error
{âerrnoâ:-61,âcodeâ:âECONNREFUSEDâ,âsyscallâ:âconnectâ,âaddressâ:â127.0.0.1â,âportâ:60287}
[35m[Appium]e[39m Welcome to Appium v1.16.0
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m port: 60273
e[35m[Appium]e[39m loglevel: info
e[35m[Appium]e[39m chromeDriverPort: 60274
e[35m[Appium]e[39m tmpDir: /var/folders/88/s72y3s8n28j6qmmx303ygt1c0000gn/T//Katalon/Appium/Temp1579250290237
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:60273
e[35m[HTTP]e[39m e[37mâ>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m7 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37mâ>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m2 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37mâ>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{âdesiredCapabilitiesâ:{âappâ:"/Users/apple/Downloads/CreditBankApp 2020-01-03 17-09-07/CreditBankApp.ipa",ânoResetâ:true,âdeviceNameâ:âiPhone 8â,âfullResetâ:false,âwdaLocalPortâ:60287,ânewCommandTimeoutâ:1800,ârealDeviceLoggerâ:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole",âplatformVersionâ:â13.2â,âautomationNameâ:âXCUITestâ,âwaitForAppScriptâ:âtrue;â,âplatformNameâ:âiOSâ,âudidâ:â8A1F99AA-2F5B-4263-B9D8-68C2216247D5â},âcapabilitiesâ:{âfirstMatchâ:[{âappium:appâ:"/Users/apple/Downloads/CreditBankApp 2020-01-03 17-09-07/CreditBankApp.ipa",âappium:automationNameâ:âXCUITestâ,âappium:deviceNameâ:âiPhone 8â,âappium:fullResetâ:false,âappium:newCommandTimeoutâ:1800,âappium:noResetâ:true,âplatformNameâ:âiosâ,âappium:platformVersionâ:â13.2â,ârealDeviceLoggerâ:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole",âappium:udidâ:â8A1F99AA-2F5B-4263-B9D8-68C2216247D5â,âappium:waitForAppScriptâ:âtrue;â,"appiue[39m
e[35m[BaseDriver]e[39m The capabilities [ârealDeviceLoggerâ] are not standard capabilities and should have an extension prefix
e[35m[Appium]e[39m Appium v1.16.0 creating new XCUITestDriver (v3.10.1) session
e[35m[BaseDriver]e[39m Session created with session id: bfe643c1-be8f-4750-b438-ba94dc3da1cd
e[35m[iOSSim]e[39m Constructing iOS simulator for Xcode version 11.3.1 with udid â8A1F99AA-2F5B-4263-B9D8-68C2216247D5â
e[35m[XCUITest]e[39m Determining device to run tests on: udid: â8A1F99AA-2F5B-4263-B9D8-68C2216247D5â, real device: false
e[35m[BaseDriver]e[39m Using local app â/Users/apple/Downloads/CreditBankApp 2020-01-03 17-09-07/CreditBankApp.ipaâ
e[35m[BaseDriver]e[39m Unzipped local app to â/var/folders/88/s72y3s8n28j6qmmx303ygt1c0000gn/T/Katalon/Appium/Temp1579250290237/2020017-41588-17b1bcd.xbgz/Payload/Creditbank.appâ
e[35m[XCUITest]e[39m Continuing without capturing device logs: iOS Simulator with udid 8A1F99AA-2F5B-4263-B9D8-68C2216247D5 is not running
e[35m[XCUITest]e[39m Setting up simulator
e[35m[iOSSim]e[39m Booting Simulator with UDID 8A1F99AA-2F5B-4263-B9D8-68C2216247D5âŚ
e[35m[iOSSim]e[39m Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 8A1F99AA-2F5B-4263-B9D8-68C2216247D5 -ConnectHardwareKeyboard 0
e[35m[iOSSim]e[39m Simulator with UDID 8A1F99AA-2F5B-4263-B9D8-68C2216247D5 booted in 11 seconds
e[35m[XCUITest]e[39m *********************************
e[35m[XCUITest]e[39m Simulator architecture appears to be unsupported by the â/var/folders/88/s72y3s8n28j6qmmx303ygt1c0000gn/T/Katalon/Appium/Temp1579250290237/2020017-41588-17b1bcd.xbgz/Payload/Creditbank.appâ application. Make sure the correct deployment target has been selected for its compilation in Xcode.
e[35m[XCUITest]e[39m Donât be surprised if the application fails to launch.
e[35m[XCUITest]e[39m *********************************
e[35m[XCUITest]e[39m Using WDA path: â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragentâ
e[35m[XCUITest]e[39m Using WDA agent: â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeprojâ
e[35m[DevCon Factory]e[39m Requesting connection for device 8A1F99AA-2F5B-4263-B9D8-68C2216247D5 on local port 60287, device port 60287
e[35m[DevCon Factory]e[39m Successfully requested the connection for 8A1F99AA-2F5B-4263-B9D8-68C2216247D5:60287
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {âerrnoâ:-61,âcodeâ:âECONNREFUSEDâ,âsyscallâ:âconnectâ,âaddressâ:â127.0.0.1â,âportâ:60287}
e[35m[XCUITest]e[39m Launching WebDriverAgent on the device
e[35m[WebDriverAgent]e[39m Fetching dependencies
e[35m[WebDriverAgent]e[39m Dependencies up-to-date
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {âerrnoâ:-61,âcodeâ:âECONNREFUSEDâ,âsyscallâ:âconnectâ,âaddressâ:â127.0.0.1â,âportâ:60287}
Hi @mariana.kolko,
It looks like youâre using Appium 1.16.0. Iâve been able to successfully use Katalon Studio 7 with Appium 1.15.1. As a first step, could you try downgrading to Appium v1.15.1?
If you installed it using npm, you can downgrade by running on your command line:
npm install -g appium@1.15.1
Hope this helps,
Chris
yes you are right iâm using Appium 1.16.0, I have downloaded through npm install -g appium, I will downgraded to 1.15.1, and try a again. I will let you know if the issue was solved
thank you
@Chris_Trevarthen . seems that the issue wasnât solved, iâm getting the below error
java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:51325
Build info: version: âunknownâ, revision: âunknownâ, time: âunknownâ
System info: host: âApples-iMac.localâ, ip: âfe80:0:0:0:8f3:3af9:4ea9:7194%en0â, os.name: âMac OS Xâ, os.arch: âx86_64â, os.version: â10.15.2â, java.version: â1.8.0_181â
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:51325
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
Build info: version: âunknownâ, revision: âunknownâ, time: âunknownâ
System info: host: âApples-iMac.localâ, ip: âfe80:0:0:0:8f3:3af9:4ea9:7194%en0â, os.name: âMac OS Xâ, os.arch: âx86_64â, os.version: â10.15.2â, java.version: â1.8.0_181â
Driver info: driver.version: IOSDriver
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:474)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:51325
Build info: version: âunknownâ, revision: âunknownâ, time: âunknownâ
System info: host: âApples-iMac.localâ, ip: âfe80:0:0:0:8f3:3af9:4ea9:7194%en0â, os.name: âMac OS Xâ, os.arch: âx86_64â, os.version: â10.15.2â, java.version: â1.8.0_181â
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:51325
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
Build info: version: âunknownâ, revision: âunknownâ, time: âunknownâ
System info: host: âApples-iMac.localâ, ip: âfe80:0:0:0:8f3:3af9:4ea9:7194%en0â, os.name: âMac OS Xâ, os.arch: âx86_64â, os.version: â10.15.2â, java.version: â1.8.0_181â
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:495)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:191)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:479)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)
⌠2 more
Caused by: java.lang.reflect.InvocationTargetException
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
⌠20 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:51325
Build info: version: âunknownâ, revision: âunknownâ, time: âunknownâ
System info: host: âApples-iMac.localâ, ip: âfe80:0:0:0:8f3:3af9:4ea9:7194%en0â, os.name: âMac OS Xâ, os.arch: âx86_64â, os.version: â10.15.2â, java.version: â1.8.0_181â
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:51325
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
⌠21 more
@Chris_Trevarthen note that on Xcode iâm getting a lot of the below warning
/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBWebDriverAttributes.m:109:15: Messaging unqualified id
@Chris_Trevarthen one more question, does the same ipa file works on simulator? or is there anything speacial that needs to be done on for the app? sorry for the whole questions, but it is a matter of urgency, and i keep getting errors
note that iâm using Catalina and the latest Xcode
Hi @mariana.kolko,
In order to use Katalon Studio with iOS, youâll need to install an configure the Appium WebDriverAgent project if you havenât already. The instructions for setting that up can be found here:
If youâve done this and are still getting an error, please let me know.
As for the same .ipa working on an simulator and an actual device, itâs been my experience that doesnât work. .ipa files are built and signed for physical device hardware and arenât bundled to be run on a simulator. You can, however, install a .app file on a simulator or device and it should work.
Hope this helps,
Chris
@Chris_Trevarthen , the Appium version was the issue, Appium 1.15.1 worked well on the IOS real device, my problem yesterday was because I tried to use the .ipa file on Simulator, I will let try your advice concerning the .app and will let you know. thanks a lot concerning the Appium 1.15.1 version it really helped me
I used a for production file on Katalon and it worked. Now i used a staging file and it shows me this error. Can you help me with this one?
java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: unexpected end of stream on Connection{127.0.0.1:51252, proxy=DIRECT hostAddress=/127.0.0.1:51252 cipherSuite=none protocol=http/1.1}
Build info: version: âunknownâ, revision: âunknownâ, time: âunknownâ
System info: host: âappetisers-miniâ, ip: â192.168.254.110â, os.name: âMac OS Xâ, os.arch: âx86_64â, os.version: â10.14.5â, java.version: â1.8.0_181â
Driver info: driver.version: IOSDriver
Iâm using Mojave 10.14.5, latest Katalon and Xcode.
Thank you in advance for your response.
Francis
Hi @francis.gamad,
When you say the latest version of Xcode, can you please confirm the version for me? I donât think the latest Xcode works with Mac OS 10.14.5. Can you also share the version of Appium that youâre using (version 1.15.1 is recommended)?
â Chris