Unable to run the Appium in Mac with XCUITEST

Unable to run the Automation in Appium V 1.6.4 beta I tried 1.6.0 to 1.6.4 Appium version
I go through link procedure

Environment

Appium version (or git revision) that exhibits the issue: V 1.6.4(beta)
Last Appium version that did not exhibit the issue (if applicable):
Desktop OS/version used to run Appium:
Node.js version :7.4.0
Mobile platform/version under test:ios
Real device : on Real Device
XCODE version 8.2

command log of WebDriverAgent

command enter

xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=e87a9b25a8160f7… test

/ log coming

2017-02-02 15:42:01.248 xcodebuild[6960:106546] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/automation/Library/Developer/Xcode/DerivedData/WebDriverAgent-cakdrvkvlwehrkdinqboxcteanbt/Logs/Test/3235775D-98C2-4E08-8528-F2849887DD0A/Session-WebDriverAgentRunner-2017-02-02_154201-upuKm4.log
2017-02-02 15:42:01.249 xcodebuild[6960:106545] [MT] IDETestOperationsObserverDebug: (9112600F-A573-4310-B8CE-62B9421CD7A3) Beginning test session WebDriverAgentRunner-9112600F-A573-4310-B8CE-62B9421CD7A3 at 2017-02-02 15:42:01.247 with Xcode 8C38 on target <DVTiOSDevice: 0x7fdac98afe30> {
deviceSerialNumber: CCQJVFG4F4K1
identifier: e87a9b25a8160f72c967ffcb6ab5d1cc1e980af3
deviceClass: iPod
deviceName: … iPod touch
deviceIdentifier: e87a9b25a8160f72c967ffcb6ab5d1cc1e980af3
productVersion: 9.3.5
buildVersion: 13G36
deviceSoftwareVersion: 9.3.5 (13G36)
deviceArchitecture: armv7f
deviceTotalCapacity: 29200080896
deviceAvailableCapacity: 27400916992
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
deviceType: <DVTDeviceType:0x7fdac94b01e0 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
} (9.3.5 (13G36))
=== BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

Check dependencies
The file “ProjectSettings.xcconfig” couldn’t be opened because there is no such file. (/Users/automation/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig)

=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

Check dependencies
The file “ProjectSettings.xcconfig” couldn’t be opened because there is no such file. (/Users/automation/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig)

writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/wd/cxph7trx36z6v6rtn5962yzm0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/4978e8f023b851de65b8fba3ab61d08c/e87a9b25a8160f72c967ffcb6ab5d1cc1e980af3/ManifestCache.plist
2017-02-02 15:42:13.227 XCTRunner[200:5291] Running tests…
2017-02-02 15:42:15.177 XCTRunner[200:5291] Continuing to run tests in the background with task ID 1
Test Suite ‘All tests’ started at 2017-02-02 15:42:15.996
Test Suite ‘WebDriverAgentRunner.xctest’ started at 2017-02-02 15:42:16.004
Test Suite ‘UITestingUITests’ started at 2017-02-02 15:42:16.009
Test Case ‘-[UITestingUITests testRunner]’ started.
t = 0.01s Start Test at 2017-02-02 15:42:16.023
t = 0.03s Set Up
2017-02-02 15:42:16.078 XCTRunner[200:5291] Built at Feb 2 2017 15:28:53
2017-02-02 15:42:16.212 XCTRunner[200:5291] ServerURLHere->http://172.16.0.33:8100<-ServerURLHere
2017-02-02 15:42:16.215 XCTRunner[200:5291] Listening on USB
Killed: 9

Appium server log

Xcode] ** TEST EXECUTE FAILED **

[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 8173)
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:25:58 raws-iPod-touch notification_proxy[139] : 0x1f115000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
[debug] [XCUITest] iproxy exited with code ‘null’
[debug] [XCUITest] Removing WDA application from device
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:00 raws-iPod-touch lsd[79] : LaunchServices: Unentitled vendor device identifier lookup for app com.apple.test.WebDriverAgentRunner-Runner by pid 181
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:00 raws-iPod-touch installd[42] : 0x1f081000 -[MIClientConnection uninstallIdentifiers:withOptions:completion:]: Uninstall requested by mobile_installation_proxy (pid 181) for identifier com.apple.test.WebDriverAgentRunner-Runner with options: (null)
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:00 raws-iPod-touch installd[42] : 0x1f081000 +[MIContainer allContainersForIdentifier:options:error:]: 390: No bundle container found for identifier com.apple.test.WebDriverAgentRunner-Runner
[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] Capability ‘useNewWDA’ set, so uninstalling WDA before proceeding
[debug] [XCUITest] Removing WDA application from device
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:01 raws-iPod-touch lsd[79] : LaunchServices: Unentitled vendor device identifier lookup for app com.apple.test.WebDriverAgentRunner-Runner by pid 181
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:01 raws-iPod-touch installd[42] : 0x1f115000 -[MIClientConnection uninstallIdentifiers:withOptions:completion:]: Uninstall requested by mobile_installation_proxy (pid 181) for identifier com.apple.test.WebDriverAgentRunner-Runner with options: (null)
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:01 raws-iPod-touch installd[42] : 0x1f115000 +[MIContainer allContainersForIdentifier:options:error:]: 390: No bundle container found for identifier com.apple.test.WebDriverAgentRunner-Runner
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Setting security for iOS device
[debug] [XCUITest] Using Xcode configuration file: ‘/Users/automation/node_modules/appium-xcuitest-driver/node_modules/appium-xcuitest-driver/WebDriverAgent/Config.xcconfig’
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=e87a9b25a8160f72c967ffcb6ab5d1cc1e980af3 -configuration Debug -xcconfig /Users/automation/node_modules/appium-xcuitest-driver/node_modules/appium-xcuitest-driver/WebDriverAgent/Config.xcconfig’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[iOSLog] [IOS_SYSLOG_ROW] Feb 2 16:26:02 raws-iPod-touch syncdefaultsd[209] : (Note ) marked “com.me.keyvalueservice” topic as “enabled” on <APSConnection: 0x17e3b350>
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITest] Log file for xcodebuild test: /Users/automation/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/8C0C8D10-F3E5-4A48-84CD-1870DE62A8D3/Session-WebDriverAgentRunner-2017-02-02_162610-xeRIrU.log
[Xcode] 2017-02-02 16:26:10.273 xcodebuild[8209:120708] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/automation/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa4fc190610 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}

[Xcode] 2017-02-02 16:26:10.273 xcodebuild[8209:120708] Error Domain=IDETestOperationsObserverErrorDomain Code=5 “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] ** TEST EXECUTE FAILED **

** Details. this capabilities added from eclipse project created for test **

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(“deviceName”,“sam’s iPod touch”);
capabilities.setCapability(CapabilityType.BROWSER_NAME,“”);
capabilities.setCapability(“platformVersion”, “10.2”);
capabilities.setCapability(“browserName”,“safari”);
capabilities.setCapability(“platformName”, “iOS”);
capabilities.setCapability(“bundleId”, “com.sample.app”);
capabilities.setCapability(“automationName”, “XCUITest”);
capabilities.setCapability(“app”, “/Users/automation/Desktop/sample.app”);
capabilities.setCapability(“udid”, “e87a9b25a8160f7…”);

capabilities.setCapability(“keychainPath”,“/Users/automation/Library/Keychains/mykeychain.keychain-db”);
capabilities.setCapability(“keychainPassword”,“…”);
capabilities.setCapability(“showIOSLog”,true);
capabilities.setCapability(“noReset”, false);
capabilities.setCapability(“useNewWDA”, true);
capabilities.setCapability(“xcodeConfigFile”,“/Users/automation/node_modules/appium-xcuitest-driver/node_modules/appium-xcuitest-driver/WebDriverAgent/Config.xcconfig”);
driver = new RemoteWebDriver(new URL(“http://(mypcip):4723/wd/hub”), capabilities);

Code To Reproduce Issue

first run Build Xcode Project WebDriver Agent Lib and build is successfully
go to folder /Users/automation/node_modules/appium-xcuitest-driver/WebDriverAgent
and run command
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=e87a9b25a8160f72c967ffcb…’ test
then start server
appium --address --bootstrap-port 4723 -U e87a9b25a8160f72c9…
and again run that eclipse project