Appium 1.6.3 WebDriverAgent compilation error

I have tried installing appium 1.6.3 that supports iOS 10.1 and xcode 8.1. But while running the test scripts in simulator, I was getting the error in appium log as follows,

Rakeshs-Mac:~ controller$ appium
[Appium] Welcome to Appium v1.6.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/controller/Downloads/java_ios/IntegrationApp.app",“appium-version”:“1.6.4”,“xcodeConfigfile”:"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/XcodeConfig.xcconfig",“platformVersion”:“10.1”,“name”:“Java iOS tutorial Tue Mar 21 17:00:40 IST 2017”,“bundleId”:“com.facebook.WebDriverAgentLib”,“platformName”:“ios”,“deviceName”:“iPhone 7”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/controller/Downloads/java_ios/IntegrationApp.app",“appium-version”:“1.6.4”,“xcodeConfigfile”:"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/XcodeConfig.xcconfig",“platformVersion”:“10.1”,“name”:“Java iOS tutorial Tue Mar 21 17:00:40 IST 2017”,“bundleId”:“com.facebook.WebDriverAgentLib”,“platformName”:“ios”,“deviceName”:“iPhone 7”},null,null,null,null]
[Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app: ‘/Users/controller/Downloads/java_ios/IntegrationApp.app’
[Appium] appium-version: ‘1.6.4’
[Appium] xcodeConfigfile: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/XcodeConfig.xcconfig’
[Appium] platformVersion: ‘10.1’
[Appium] name: ‘Java iOS tutorial Tue Mar 21 17:00:40 IST 2017’
[Appium] bundleId: ‘com.facebook.WebDriverAgentLib’
[Appium] platformName: ‘ios’
[Appium] deviceName: ‘iPhone 7’
[debug] [XCUITest] XCUITestDriver version: 2.4.2
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version, xcodeConfigfile, name.
[BaseDriver] Session created with session id: b56f8298-9064-44b6-83ac-4186df4e8bfc
[debug] [XCUITest] Xcode version set to ‘8.1’
[debug] [XCUITest] iOS SDK Version set to ‘10.1’
[iOSSim] Constructing iOS simulator for Xcode version 8.1 with udid ‘0724BDB0-4AB9-466F-B58B-593D819B74CA’
[XCUITest] Determining device to run tests on: udid: ‘0724BDB0-4AB9-466F-B58B-593D819B74CA’, real device: false
[BaseDriver] Using local app ‘/Users/controller/Downloads/java_ios/IntegrationApp.app’
[debug] [XCUITest] Checking whether app ‘/Users/controller/Downloads/java_ios/IntegrationApp.app’ is actually present
[debug] [XCUITest] App is present
[debug] [iOSLog] Starting iOS 10.1 simulator log capture
[debug] [iOSLog] System log path: /Users/controller/Library/Logs/CoreSimulator/0724BDB0-4AB9-466F-B58B-593D819B74CA/system.log
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[XCUITest] Simulator with udid ‘0724BDB0-4AB9-466F-B58B-593D819B74CA’ already booted
[debug] [XCUITest] Installing app ‘/Users/controller/Downloads/java_ios/IntegrationApp.app’ on device
[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’
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[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=0724BDB0-4AB9-466F-B58B-593D819B74CA -configuration Debug’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/D65EEB26-E2AE-49F6-828B-A5E505BDE0FE/Session-WebDriverAgentRunner-2017-03-21_170048-FT0w4I.log
[debug] [WebDriverAgent] Sim: Mar 21 17:00:48 Rakeshs-Mac CoreSimulatorBridge[582]: Requesting installation of file:///Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/ with options: {
[debug] [WebDriverAgent] Sim: CFBundleIdentifier = “com.apple.test.WebDriverAgentRunner-Runner”;
[debug] [WebDriverAgent] Sim: PackageType = Developer;
[debug] [WebDriverAgent] Sim: SimulatorRootPath = “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk”;
[debug] [WebDriverAgent] Sim: SimulatorUserPath = “/Users/controller/Library/Developer/CoreSimulator/Devices/0724BDB0-4AB9-466F-B58B-593D819B74CA/data”;
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Mar 21 17:00:52 Rakeshs-Mac CoreSimulatorBridge[582]: Requesting launch of com.apple.test.WebDriverAgentRunner-Runner with options: {
[debug] [WebDriverAgent] Sim: arguments = (
[debug] [WebDriverAgent] Sim: “-NSTreatUnknownArgumentsAsOpen”,
[debug] [WebDriverAgent] Sim: NO,
[debug] [WebDriverAgent] Sim: “-ApplePersistenceIgnoreState”,
[debug] [WebDriverAgent] Sim: YES
[debug] [WebDriverAgent] Sim: );
[debug] [WebDriverAgent] Sim: environment = {
[debug] [WebDriverAgent] Sim: “DTX_CONNECTION_SERVICES_PATH” = “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework”;
[debug] [WebDriverAgent] Sim: “DYLD_FRAMEWORK_PATH” = “/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks”;
[debug] [WebDriverAgent] Sim: “DYLD_LIBRARY_PATH” = “/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks”;
[debug] [WebDriverAgent] Sim: NSUnbufferedIO = YES;
[debug] [WebDriverAgent] Sim: “OS_ACTIVITY_DT_MODE” = YES;
[debug] [WebDriverAgent] Sim: “XCODE_DBG_XPC_EXCLUSIONS” = “com.apple.dt.xctestSymbolicator”;
[debug] [WebDriverAgent] Sim: XCTestConfigurationFilePath = “/var/folders/1c/l3pnssv95vb50qfmq13s9jvc0000gp/T/com.apple.dt.XCTest/5CCE0F89-2EE5-4462-B08F-71C5801777B7/remote-container/tmp/WebDriverAgentRunner-5CCE0F89-2EE5-4462-B08F-71C5801777B7.xctestconfiguration”;
[debug] [WebDriverAgent] Sim: “_XCODEBUILT_PRODUCTS_DIR_PATHS” = “/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator”;
[debug] [WebDriverAgent] Sim: “_XPCDYLD_FRAMEWORK_PATH” = “/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator”;
[debug] [WebDriverAgent] Sim: “_XPCDYLD_LIBRARY_PATH” = “/Users/controller/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphonesimulator”;
[debug] [WebDriverAgent] Sim: };
[debug] [WebDriverAgent] Sim: stderr = “/dev/ttys003”;
[debug] [WebDriverAgent] Sim: stdout = “/dev/ttys003”;
[debug] [WebDriverAgent] Sim: “wait_for_debugger” = 0;
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Mar 21 17:00:52 Rakeshs-Mac CoreSimulatorBridge[582]: [Common] [FBSSystemService][0x72c] Sending request to open “com.apple.test.WebDriverAgentRunner-Runner”
[debug] [WebDriverAgent] Sim: Mar 21 17:00:52 Rakeshs-Mac CoreSimulatorBridge[582]: [Common] [FBSSystemService][0x72c] Request successful:
[debug] [WebDriverAgent] Sim: Mar 21 17:00:52 Rakeshs-Mac XCTRunner986: assertion failed: 16C68 14B72: libxpc.dylib + 62597 [17F6B510-0FB1-30D3-B29C-D74A5D63719E]: 0x7d
[debug] [WebDriverAgent] Sim: Mar 21 17:00:52 Rakeshs-Mac XCTRunner986: Running tests…
[debug] [WebDriverAgent] Sim: Mar 21 17:00:56 Rakeshs-Mac XCTRunner986: Continuing to run tests in the background with task ID 1
[debug] [WebDriverAgent] Sim: Mar 21 17:00:57 Rakeshs-Mac XCTRunner986: Built at Mar 21 2017 13:39:56
[XCUITest] Detected that WebDriverAgent is running at url ‘http://10.251.157.174:8100
[debug] [WebDriverAgent] Sim: Mar 21 17:00:57 Rakeshs-Mac XCTRunner[XCUITest] WebDriverAgent started at url ‘http://10.251.157.174:8100
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.facebook.WebDriverAgentLib”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true}}
[debug] [WebDriverAgent] Sim: Mar 21 17:01:58 Rakeshs-Mac XCTRunner986: Enqueue Failure: UI Testing Failure - App accessibility isn’t loaded /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 35 1

What could be the reason such a log? Can anyone help me out?