When I try to run the test in iOS, the Katalon tries to open the coffee app a few times but it’s closing again. I followed all of your instruction and forums and tutorials but still I could not run it
xCode version is 9.4
katalon version is 5.9.0
appium version is 1.8.1
carthage version is 0.31.2
simulator with iOS 11.0.1
the Log Viewer stop in this line:
Appium server started on port 63,291
Also this is the Console message
***//////-------------------------------------------------------
SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See SLF4J Error Codes for further details.
2018-11-29 12:00:33.949 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2018-11-29 12:00:33.951 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Mexican Coffee Timer
2018-11-29 12:00:35.008 DEBUG testcase.Mexican Coffee Timer - 1: startApplication(app_path, true)
2018-11-29 12:00:35.716 INFO c.k.k.c.a.driver.AppiumDriverManager - ios_webkit_debug_proxy server started on port 56848
2018-11-29 12:00:38.897 INFO c.k.k.c.a.driver.AppiumDriverManager - Appium server started on port 56,850
[Appium] Welcome to Appium v1.8.1
[Appium] Non-default server args:
[Appium] port: 56850
[Appium] chromeDriverPort: 56851
[Appium] tmpDir: /var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T//Katalon/Appium/Temp1543489235719
[Appium] webkitDebugProxyPort: 56848
[Appium] Appium REST http interface listener started on 0.0.0.0:56850
[HTTP] → GET /wd/hub/status
[HTTP] {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args:
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.8.1”,“revision”:null}}
[HTTP] ← GET /wd/hub/status 200 18 ms - 83
[HTTP]
[HTTP] → POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:“/Users/cha/Desktop/Test katalon/Test Project.prj/App/Coffee Timer 2018-06-20 15-04-42/Coffee Timer.ipa”,“automationName”:“XCUITest”,“deviceName”:“iPad Air 2”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“11.0”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“waitForAppScript”:“true;”,“wdaLocalPort”:56847},“capabilities”:{“desiredCapabilities”:{“app”:“/Users/cha/Desktop/Test katalon/Test Project.prj/App/Coffee Timer 2018-06-20 15-04-42/Coffee Timer.ipa”,“automationName”:“XCUITest”,“deviceName”:“iPad Air 2”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“11.0”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“waitForAppScript”:“true;”,“wdaLocalPort”:56847},"firstMat
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“/Users/cha/Desktop/Test katalon/Test Project.prj/App/Coffee Timer 2018-06-20 15-04-42/Coffee Timer.ipa”,“automationName”:“XCUITest”,“deviceName”:“iPad Air 2”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“11.0”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“waitForAppScript”:“true;”,“wdaLocalPort”:56847},null,{“desiredCapabilities”:{“app”:“/Users/cha/Desktop/Test katalon/Test Project.prj/App/Coffee Timer 2018-06-20 15-04-42/Coffee Timer.ipa”,“automationName”:“XCUITest”,“deviceName”:“iPad Air 2”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“11.0”,“realDeviceLogger”:“/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole”,“waitForAppScript”:“true;”,“wdaLocalPort”:56847},“firstMatch”:[{“platformName”:“ios”}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1543489239539 (12:00:39 GMT+0100 (Central European Standard Time))
[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”,“platform”,“platformName”,“platformVersion”,“realDeviceLogger”,“waitForAppScript”,“wdaLocalPort”]. Falling back to JSONWP protocol.
[Appium] Creating new XCUITestDriver (v2.84.0) session
[Appium] Capabilities:
[Appium] app: /Users/cha/Desktop/Test katalon/Test Project.prj/App/Coffee Timer 2018-06-20 15-04-42/Coffee Timer.ipa
[Appium] automationName: XCUITest
[Appium] deviceName: iPad Air 2
[Appium] fullReset: true
[Appium] newCommandTimeout: 1800
[Appium] noReset: false
[Appium] platform: IOS
[Appium] platformName: iOS
[Appium] platformVersion: 11.0
[Appium] realDeviceLogger: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole
[Appium] waitForAppScript: true;
[Appium] wdaLocalPort: 56847
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:"/Users/cha/Desktop/…
[BaseDriver] The following capabilities were provided, but are not recognized by appium: platform.
[BaseDriver] Session created with session id: f21adda6-57a6-465d-bb2c-fa0c0c6f2bfd
[debug] [XCUITest] Current user: ‘cha’
[debug] [XCUITest] Xcode version set to ‘9.4’ (tools v10.1.0.0.1.1539992718)
[debug] [XCUITest] iOS SDK Version set to ‘11.4’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1543489239740 (12:00:39 GMT+0100 (Central European Standard Time))
[iOSSim] Constructing iOS simulator for Xcode version 9.4 with udid ‘F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7’
[XCUITest] Determining device to run tests on: udid: ‘F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7’, real device: false
[BaseDriver] Using local app ‘/Users/cha/Desktop/Test katalon/Test Project.prj/App/Coffee Timer 2018-06-20 15-04-42/Coffee Timer.ipa’
[debug] [BaseDriver] Copying local zip to tmp dir
[BaseDriver] Unzipping local app ‘/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/appium-app.zip’…
[debug] [BaseDriver] Unzipping /var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/Payload/Coffee Timer.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1543489240113 (12:00:40 GMT+0100 (Central European Standard Time))
[debug] [XCUITest] Checking whether app ‘/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/Payload/Coffee Timer.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/Payload/Coffee Timer.app’: ‘com.ashfurrow.Coffee-Timer-2’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1543489240117 (12:00:40 GMT+0100 (Central European Standard Time))
[debug] [XCUITest] Reset: fullReset is on. Cleaning simulator
[debug] [XCUITest] Killing running processes ‘xcodebuild.*F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7, F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7.*XCTRunner’ for the device F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[iOSSim] Cleaning simulator F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1543489246006 (12:00:46 GMT+0100 (Central European Standard Time))
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7 is not running
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] No Simulator cache items for cleanup were matched in ‘/Users/cha/Library/Developer/CoreSimulator/Devices/F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7/data/Library/Caches’
[debug] [iOSSim] Setting preferences of F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7 Simulator to {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] Updated F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7 Simulator preferences at ‘/Users/cha/Library/Preferences/com.apple.iphonesimulator.plist’ with {“DevicePreferences”:{“F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7”:{“ConnectHardwareKeyboard”:false}},“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Booting Simulator with UDID F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7…
[iOSSim] Simulator with UDID F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7 booted in 40 seconds
[debug] [BaseDriver] Event ‘simStarted’ logged at 1543489287105 (12:01:27 GMT+0100 (Central European Standard Time))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid ‘F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7’, using ‘xcrun simctl spawn F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7 log stream --style compact’
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1543489288575 (12:01:28 GMT+0100 (Central European Standard Time))
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: [“iPhoneOS”]
[XCUITest] *********************************
[XCUITest] Simulator architecture appears to be unsupported by the ‘/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/Payload/Coffee Timer.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] *********************************
[debug] [XCUITest] Installing ‘/var/folders/7g/21lzx8w51_n1wh47vz05l_zr0000gp/T/20181029-24155-ygn8wr.w898s/Payload/Coffee Timer.app’ on Simulator with UUID ‘F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7’…
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1543489293984 (12:01:33 GMT+0100 (Central European Standard Time))
[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’
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 56847 have been found
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:56847/status\] with no body
[debug] [XCUITest] WDA is not listening at ‘http://localhost:56847/’
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1543489294111 (12:01:34 GMT+0100 (Central European Standard Time))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/carthage/0.18.1/etc/bash_completion.d/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7, iproxy 56847, F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7.*XCTRunner’ for the device F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif iproxy 56847’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif F1F3C42C-F14B-4BA1-85C7-51A1B679BFE7.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Using Xcode 9.4, so fixing WDA codebase
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appiu…
***//////-------------------------------------------------------