Hi All,
Xcode : Xcode-beta 8
iOS version in MAC mini: 10.12 (macOS Sierra)
Appium: installed using npm install -g appium@beta
automationName: ‘XCUITest’
iPhone has: 10.0.2
I have installed the developer signed build in the iPhone.
i have started the node in the command prompt with necessary parameter like app package, app, app activity and etc.
here is the appium node log:
[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Using real device logger ‘idevicesyslog’
[debug] [XCUITest] Beginning test with command ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=117cbc1f3fa0fe07cd1888b4753811ada8bb9460’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Waiting for WebDriverAgent to start on device
[XCUITest] The real device logger ‘idevicesyslog’ was unable to start log capture. Please try installing ‘deviceconsole’ (‘npm install -g deviceconsole’) and specify the path to it using the ‘realDeviceLogger’ capability.
[debug] [XCUITest] Log file for xcodebuild test: /Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/01A05D1C-9D88-40AD-83AC-12D07A3E04C5/Session-WebDriverAgentRunner-2016-10-24_163832-3QZoFe.log
when i run the below command in the another terminal:
/Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/01A05D1C-9D88-40AD-83AC-12D07A3E04C5/Session-WebDriverAgentRunner-2016-10-24_163832-3QZoFe.log
I am getting permission denied
-bash: /Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/01A05D1C-9D88-40AD-83AC-12D07A3E04C5/Session-WebDriverAgentRunner-2016-10-24_163832-3QZoFe.log: Permission denied
When i run the below command in the another terminal
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=117cbc1f3fa0fe07cd1888b4753811ada8bb9460’ in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
i am getting struck after
▸ Copying /Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework
▸ Signing /Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
▸ Touching WebDriverAgentRunner.xctest
▸ Signing /Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
▸ Signing /Users/pjayaram/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/yf/qljb2n79607d5blzrq72d0500000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/47dfd274fd1bad87943da309515f1290/117cbc1f3fa0fe07cd1888b4753811ada8bb9460/ManifestCache.plist
i could see web driver is installed in the device.
Please let me proceed.