I'm unable to run my tests in Java for iOS for a week

Hi, I tried reinstalling appium a few times, as well as other stuff but nothing works. For Android works fine, but iOS stopped working. I can’t even open the Appium Inspector, I don’t know what to do. Can anyone give me a hand? is there something known about iOS which came out lately?

Thanks here are the logs

[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/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”,“newCommandTimeout”:“7200”,“app”:"/Users/pablos/Downloads/Letgo.ipa",“platformVersion”:“9.3”,“udid”:“e95cfce2929e1f3217fd262b95f3dcbf833ed509”,“deviceName”:“iPhone 6s”,“automationName”:“Appium”}}

[MJSONWP] Calling AppiumDriver.createSession() with args: [{“platformName”:“iOS”,"new…
[Appium] Creating new IosDriver session
[Appium] Capabilities:

[Appium] platformName: ‘iOS’
[Appium] newCommandTimeout: ‘7200’
[Appium] app: ‘/Users/pablos/Downloads/Letgo.ipa’
[Appium] platformVersion: ‘9.3’
[Appium] udid: ‘e95cfce2929e1f3217fd262b95f3dcbf833ed509’
[Appium] deviceName: ‘iPhone 6s’
[Appium] automationName: ‘Appium’
[Appium] fullReset: true

[BaseDriver] Capability ‘newCommandTimeout’ changed from string (‘7200’) to integer (7200). This may cause unexpected behavior
[BaseDriver] Session created with session id: 1258cefe-0e0f-4297-9340-a064f5bf6879
[debug] [iOS] Not auto-detecting udid.
[BaseDriver] Using local app ‘/Users/pablos/Downloads/Letgo.ipa’
[debug] [BaseDriver] Copying local zip to tmp dir

[debug] [BaseDriver] Unzipping /var/folders/77/lw0n7hbs2614bnhf3kk1nnfm0000gn/T/2016821-3673-yzq800/appium-app.zip

[debug] [BaseDriver] Testing zip archive: /var/folders/77/lw0n7hbs2614bnhf3kk1nnfm0000gn/T/2016821-3673-yzq800/appium-app.zip

[BaseDriver] Unzipped local app to ‘/var/folders/77/lw0n7hbs2614bnhf3kk1nnfm0000gn/T/2016821-3673-yzq800/Payload/Letgo.app’

[debug] [iOS] Removing any remaining instruments sockets

[debug] [iOS] Cleaned up instruments socket /var/folders/77/lw0n7hbs2614bnhf3kk1nnfm0000gn/T/instruments_sock
[debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in ‘en.lproj’ directory

[debug] [iOS] Parsed app ‘Localizable.strings’
[debug] [ios-app-utils] Getting bundle ID from app
[iOS] Extracted bundleID: ar.delorean.letgo from app: /var/folders/77/lw0n7hbs2614bnhf3kk1nnfm0000gn/T/2016821-3673-yzq800/Payload/Letgo.app
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/pablos/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:"/Applications/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/var/folders/77/lw0n7hbs2614bnhf3kk1nnfm0000gn/T/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

[debug] [UIAuto] Dynamic bootstrap path: /Users/pablos/Library/Application Support/appium/bootstrap/bootstrap-8ed1c3410ad1d4d7.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/pablos/Library/Application Support/appium/bootstrap/bootstrap-8ed1c3410ad1d4d7.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOS] Full reset requested. Will try to uninstall the app ‘ar.delorean.letgo’.
[debug] [iOS] Creating iDevice object with udid e95cfce2929e1f3217fd262b95f3dcbf833ed509

[iOS] Could not remove ‘ar.delorean.letgo’ from device

[MJSONWP] Encountered internal error running command: Error: Removing ar.delorean.letgo failed
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice/main.js:145:6
at ChildProcess.exithandler (child_process.js:193:7)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket. (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)

Did you update to Xcode 8? You don’t say the version of Appium but only 1.6 (beta) is compatible. Xcode 8 did come out in the last week or so…

I did not. Xcode version 7.3 Appium version 1.5.3

Did you update your Mac to 10.11.6 recently?
If Yes, Follow the below post and check if thats the issue.
There has been a security upgrade recently which has caused issues.

It seems to be related to the funcion ideviceinstaller being deprecated for fullreset option. I’m looking into this and be back soon.

Did you update to iTunes? Try this:

It was this. Now everything works again. Thanks!