iPhone test setup issues

So I’ve been testing one of our hybrid android apps for a couple years with Robot Framework. Now we’re adding an equivalent iPhone app. I’m having problems connecting to the iPhone from Appium.

I have Enable UI Automation set on device.
My Mac is running Sierra (10.12.3)
XCode is running (8.2.1), got the ID from here and pasted into UDID field in Appium GUI.
The App Path points to the .ipa file.

I’m running the latest version of Appium, which is 1.5.3
The Platform Version field on the GUI ranges from 9.3 down to 6.0.
My device is at 10.0.2. Will this cause a problem?

When I launch and run ‘the doctor’, I get the following error message:
info AppiumDoctor :heavy_check_mark: Xcode is installed at: /Applications/Xcode.app/Contents/Developer[Error: Could not detect Mac OS X Version from sw_vers output: ‘10.12.3’]
This doesn’t sound like too big of a deal, but IDK.

Running the inspector produces the following error: (full log to follow)
[BaseDriver] Using local app ‘/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa’[debug] [BaseDriver] Copying local zip to tmp dirError: EISDIR: illegal operation on a directory, read at Error (native)
I’m able to deploy the app with xcode and launch it.
Seems like inspector should do the same but can’t.
Any ideas?

Thanks.
-Dave


Full Log:

Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’
appium/build/lib/main.js --address “127.0.0.1” --log-no-colors
–debug-log-spacing --log “/tmp/appium.log” --platform-version “9.3”
–platform-name “iOS” --app “/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa” --udid “50a6f24f7cb8f7520128b2c0764293b9804167de” --full-reset --show-ios-log --show-ios-log --device-name “iPhone 6”
[Appium] Welcome to Appium v1.5.3
[Appium] Non-default server args:
[Appium] address: ‘127.0.0.1’
[Appium] log: ‘/tmp/appium.log’[Appium] logNoColors: true[Appium] debugLogSpacing: true[Appium] platformName: ‘iOS’[Appium] platformVersion: ‘9.3’[Appium] deviceName: ‘iPhone 6’[Appium] app: ‘/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa’
[Appium] udid: ‘50a6f24f7cb8f7520128b2c0764293b9804167de’[Appium] fullReset: true[Appium] showIOSLog: true[Appium] Deprecated server args:[Appium] --platform-name => --default-capabilities ‘{“platformName”:“iOS”}’[Appium] --platform-version => --default-capabilities ‘{“platformVersion”:“9.3”}’[Appium] --device-name => --default-capabilities ‘{“deviceName”:“iPhone 6”}’[Appium] --app => --default-capabilities ‘{“app”:"/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa"}’[Appium] -U,–udid => --default-capabilities ‘{“udid”:“50a6f24f7cb8f7520128b2c0764293b9804167de”}’[Appium] --full-reset => --default-capabilities ‘{“fullReset”:true}’
[Appium] --show-ios-log => --default-capabilities ‘{“showIOSLog”:true}’[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] platformName: ‘iOS’[Appium] platformVersion: ‘9.3’[Appium] deviceName: ‘iPhone 6’[Appium] app: ‘/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa’[Appium] udid: ‘50a6f24f7cb8f7520128b2c0764293b9804167de’[Appium] fullReset: true[Appium] showIOSLog: true
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 17 ms - 83
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…[HTTP] <-- GET /wd/hub/status 200 11 ms - 83
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…[HTTP] <-- GET /wd/hub/status 200 9 ms - 83 [HTTP] --> GET /wd/hub/sessions {}[MJSONWP] Calling AppiumDriver.getSessions() with args: [][MJSONWP] Responding to client with driver.getSessions() result: [][HTTP] <-- GET /wd/hub/sessions 200 3 ms - 40
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“platformName”:“iOS”,“platformVersion”:“9.3”,“app”:"/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa",“automationName”:“Appium”,“udid”:“50a6f24f7cb8f7520128b2c0764293b9804167de”,“deviceName”:“iPhone 6”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“platformName”:“iOS”,"pla…
[Appium] Creating new IosDriver session
[Appium] Capabilities:[Appium] platformName: ‘iOS’[Appium] platformVersion: ‘9.3’[Appium] app: ‘/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa’[Appium] automationName: ‘Appium’[Appium] udid: ‘50a6f24f7cb8f7520128b2c0764293b9804167de’[Appium] deviceName: ‘iPhone 6’[Appium] fullReset: true[Appium] showIOSLog: true[BaseDriver] Session created with session id: 5a9d9112-ec79-4cae-adc3-0a861a94492d[debug] [iOS] Not auto-detecting udid.[BaseDriver] Using local app ‘/Users/dveautour/test/iphone/build-2017-Jan-24-1104/LogPad-ad-hoc-2017-Jan-24-1104.ipa’[debug] [BaseDriver] Copying local zip to tmp dir
Error: EISDIR: illegal operation on a directory, read at Error (native)