But when start Appium, I am facing the below logs.
XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.apple.mobilesafari”,“arguments”:["-u",“http://appium.io”],“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[XCUITest] Log file for xcodebuild test: /Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/FBB45442-5F6E-45A1-A5C7-220406D799DB/Session-WebDriverAgentRunner-2017-05-29_193300-rHJdSc.log
[Xcode] 2017-05-29 19:33:00.294 xcodebuild[56508:705992] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7ff00260c080 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-05-29 19:33:00.294 xcodebuild[56508:705992] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch com.apple.mobilesafari application”,“sessionId”:“4047BBEB-B5B8-4C1E-83AE-82AD48F3D18F”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1496066936485 (19:38:56 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.apple.mobilesafari”,“arguments”:["-u",“http://appium.io”],“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
Please see that desired capabilities are set means Automation name is XCUITEST and XCONFIG file path is there and Webdriver Agent is installed and running…
follow below link
XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.apple.mobilesafari”,“arguments”:["-u",“http://appium.io”],“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[XCUITest] Log file for xcodebuild test: /Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/FBB45442-5F6E-45A1-A5C7-220406D799DB/Session-WebDriverAgentRunner-2017-05-29_193300-rHJdSc.log
[Xcode] 2017-05-29 19:33:00.294 xcodebuild[56508:705992] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7ff00260c080 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-05-29 19:33:00.294 xcodebuild[56508:705992] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch com.apple.mobilesafari application”,“sessionId”:“4047BBEB-B5B8-4C1E-83AE-82AD48F3D18F”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1496066936485 (19:38:56 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.apple.mobilesafari”,“arguments”:["-u",“http://appium.io”],“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}