I am trying to use the new version of appium using the XCUITEST method for testing ipad. As soon as I started the Appium server (1.6.0 Beta2) and ran my tests (using Java with Cucumber), I get a few errors from the appium log.
[Xcode] 2016-10-06 12: 18: 25.074 xcodebuild [5380: 983002] Error Domain = IDETestOperationsObserverErrorDomain Code = 3 "The test operation was canceled. If you think this error is an error, please attach the log file to / Users / gchaikin / Library / Developer / Xcode / DerivedData / WebDriverAgent -brdadhpuduowllgivnnvuygpwhzy / Logs / Test / 55FF83B2-8215-4D5A-BE53-A44661B07463 / Session-WebDriverAgentRunner-2016-10-06_12ocal_comex.local_logf = 1824 canceled. if you believe this error is an error, attach the log file at / Users / gchaikin / Library / Developer / Xcode / DerivedData / WebDriverAgent -brdadhpuduowllgivnnvuygpwhzy / Logs / Test / 55FF83B2-8215-4D5A-BE53-A44661B07463ver / Session -2016-10-06_121824-SUJrDx.log}
The above log contains only the same information.
Then he says
[Xcode] 2016-10-06 12: 18: 25.077 xcodebuild [5380: 983070] The peer connection refused a channel request for "Dtxproxy: XCTestManager_IDEInterface: XCTestManager_DaemonConnectionInterface"; channel canceled
[Xcode] Test failed: ./ Scripts / generate_modules.sh: line 15: Modules /module.modulemap: permission denied ** TEST FAILED ** The following build commands failed: PhaseScriptExecution Generate \ modules / Users / gchaikin / Library / Developer / Xcode / DerivedData / WebDriverAgent -brdadhpuduowllgivnnvuygpwhzy / Build / Intermediates / WebDriverAgent.build / Debug-iphonesimulator / WebDriverAgentLib.build / Script-AD35D0281CF1B37A0087075.b)
[XCUITest] xcodebuild exited with code "65" and signal "null"
WebDriverAgent
11: 58: 36.481 xcodebuild [4014: 965497] Xcode.IDEFoundation.Launcher.PosixSpawn 11: 58: 36.482 xcodebuild [4014: 965497] . 11: 58: 36,483 xcodebuild [4014: 965498] 2DCCFAF0-AC2A-41F2-ADCF-80A64E869EA7: -, 4 11: 58: 36,483 xcodebuild [4014: 965498] 2DCCFAF0-AC2A-41F2-ADCF-80A64E869EA7: SIM- 4 11: 58: 36,483 xcodebuild [4014: 965498] Sim iPad Air 2 ( = 3) 11: 58: 36.483 xcodebuild [4014: 965498] - [SimDevice getenv: error:] TESTMANAGERD_SIM_SOCK 11: 58: 36.484 xcodebuild [4014: 965498] /private/tmp/com.apple.launchd.FQMBCMNTix/com.apple.testmanagerd.unix-domain.socket TESTMANAGERD_SIM_SOCK 11: 58: 36.484 xcodebuild [4014: 965498] Sim iPad Air 2 testmanagerd /private/tmp/com.apple.launchd.FQMBCMNTix/com.apple.testmanagerd.unix-domain.socket 11: 58: 36.484 xcodebuild [4014: 965498] 33 testmanagerd Sim iPad Air 2 11: 58: 36.484 xcodebuild [4014: 965498] . 11: 58: 36,485 xcodebuild [4014: 965498] - ( ) 11: 58: 36.485 xcodebuild [4014: 965498] . 11: 58: 36.486 xcodebuild [4014: 965498] . 11: 58: 36,487 xcodebuild [4014: 965497] iOSSimulator 11: 58: 36.487 xcodebuild [4014: 965497] : NSConcreteNotification 0x7fda73f2d5a0 {name = com.apple.iphonesimulator.startSession; userInfo = { deviceUDID = "2DCCFAF0-AC2A-41F2-ADCF-80A64E869EA7"; }} 11: 58: 36.509 xcodebuild [4014: 965497] < __ NSConcreteUUID 0x7fda743188b0 > 2FBA9011-A9DC-40E3-85F3-3260DDE41977 11: 58: 36.509 xcodebuild [4014: 965497] ..., 120 11: 58: 36,721 xcodebuild [4014: 965497] : . 11: 58: 36.721 xcodebuild [4014: 965497] _finishWithError: Domain = IDETestOperationsObserverErrorDomain Code = 3 " ." UserInfo = {NSLocalizedDescription = .} didCancel: 1
- ?