Trying to appium desktop for physical Device for iOS

Hi,

Appium DeskTop Version: 1.13.0 (1.13.0.20190505.6)

I am trying to setup appium Inspector Session with following Desired Capabilities. I am using physical device.

Here are the Desired Capabilities which I define in appium desktop
{
“platformName”: “iOS”,
“platformVersion”: “12.3.1”,
“deviceName”: “iPhone8”,
“udid”: “a6db688382c81d8fc79ad428c5cb7223f5ef5086”,
“app”: “/Users/xxxx/Desktop/Test.ipa”,
“automationName”: “XCUITest”,
“xcodeConfigfile”: “/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj”
}

I setup every thing which is needed. https://www.youtube.com/watch?v=dyijACVRQOc&t=599s

but still I am getting following error. Please help me.
An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: 2019-07-18 10:48:57.786 xcodebuild[41532:5590891] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/hpatel/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc1435d9950 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}} 2019-07-18 10:48:57.786 xcodebuild[41532:5590891] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/hpatel/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc13e0a9100 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}} ** TEST BUILD FAILED ** 2019-07-18 10:48:57.796 xcodebuild[41532:5590892] IDETestOperationsObserverDebug: Writing diagnostic log for test session to: /Users/hpatel/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2019.07.18_10-48-57–0700.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-5C8D9F44-A537-421F-8FBA-F4FE50DCE774/WebDriverAgentRunner-B8E92BD3-DC90-477D-9738-7B38780072D6/Session-WebDriverAgentRunner-2019-07-18_104857-kZ0Pu2.log 2019-07-18 10:48:57.796 xcodebuild[41532:5590881] [MT] IDETestOperationsObserverDebug: (1E99BCAB-6F55-4DB9-9BEC-7D86666C8E72) Beginning test session WebDriverAgentRunner-1E99BCAB-6F55-4DB9-9BEC-7D86666C8E72 at 2019-07-18 10:48:57.796 with Xcode 10E1001 on target :iphone:<DVTiOSDevice (0x7fc14445c670), iPhone, iPhone, 12.3.1 (16F203), a6db688382c81d8fc74ad428c5cb7223f5ef5086> { deviceSerialNumber: F4JVMT8SJC67 identifier: a6db688382c81d8fc74ad428c5cb7223f5ef5086 deviceClass: iPhone deviceName: iPhone deviceIdentifier: a6db688382c81d8fc74ad428c5cb7223f5ef5086 productVersion: 12.3.1 buildVersion: 16F203 deviceSoftwareVersion: 12.3.1 (16F203) deviceArchitecture: arm64 deviceTotalCapacity: 59695919104 deviceAvailableCapacity: 20511739904 deviceIsTransient: NO ignored: NO deviceIsBusy: NO deviceIsPaired: YES deviceIsActivated: YES deviceActivationState: Activated isPasscodeLocked: NO deviceType: <DVTDeviceType:0x7fc13e0d52b0 Xcode.DeviceType.iPhone> supportedDeviceFamilies: ( 1 ) applications: (null) provisioningProfiles: (null) hasInternalSupport: NO isSupportedOS: YES developerDiskMountError: (null) (null) bootArgs: (null) nextBootArgs: (null) connected: yes isWirelessEnabled: no connectionType: direct hostname: (null) bonjourServiceName: 40:9c:28:47:86:f6@fe80::429c:28ff:fe47:86f6._apple-mobdev2._tcp.local. } (12.3.1 (16F203)) 2019-07-18 10:48:57.880 xcodebuild[41532:5590881] [MT] IDETestOperationsObserverDebug: (1E99BCAB-6F55-4DB9-9BEC-7D86666C8E72) Finished

May be you get some wrong understanding about xcdoeConfigfile, you need to set provisioning file in WebDriverAgent.xcodeproj which opened in xcode. to get more info follow this: https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md