Bad app appium ios after updating to v1.10.0

Hi ,

After updating to appium version 1.10.0 i am getting the following error :

[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“‎⁨/⁨Users⁩/sumit.kathuria⁩/⁨Library⁩/⁨Developer⁩/⁨Xcode⁩/⁨DerivedData/⁨Gaana-dkknopffzxmymsezkeafptoyzokc⁩/⁨Build⁩/Products⁩/⁨Debug-iphonesimulator⁩/Gaana.app”,“appium-version”:“1.10.0”,“platformVersion”:“12.1”,“automationName”:“XCUITest”,“bundleId”:“com.til.gaana”,“platformName”:“iOS”,“deviceName”:“iPhone 6s Plus”,“nativeWebTap”:true},null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1547199386212 (15:06:26 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.104.0) session
[Appium] Capabilities:
[Appium] app: ‎⁨/⁨Users⁩/sumit.kathuria⁩/⁨Library⁩/⁨Developer⁩/⁨Xcode⁩/⁨DerivedData/⁨Gaana-dkknopffzxmymsezkeafptoyzokc⁩/⁨Build⁩/Products⁩/⁨Debug-iphonesimulator⁩/Gaana.app
[Appium] appium-version: 1.10.0
[Appium] platformVersion: 12.1
[Appium] automationName: XCUITest
[Appium] bundleId: com.til.gaana
[Appium] platformName: iOS
[Appium] deviceName: iPhone 6s Plus
[Appium] nativeWebTap: true
[BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:"‎⁨/⁨Users⁩/sumit.ka…
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version.
[BaseDriver] Session created with session id: d287220c-9064-4309-bf09-8dd55824854d
[XCUITest] Current user: ‘sumit.kathuria’
[iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid ‘BF31CE25-A9EE-474A-8291-D71AD90F65AF’
[XCUITest] Determining device to run tests on: udid: ‘BF31CE25-A9EE-474A-8291-D71AD90F65AF’, real device: false
[XCUITest] Xcode version set to ‘10.1’
[XCUITest] iOS SDK Version set to ‘12.1’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1547199387106 (15:06:27 GMT+0530 (IST))
[XCUITest] Error: The application at ‘‎⁨/⁨Users⁩/sumit.kathuria⁩/⁨Library⁩/⁨Developer⁩/⁨Xcode⁩/⁨DerivedData/⁨Gaana-dkknopffzxmymsezkeafptoyzokc⁩/⁨Build⁩/Products⁩/⁨Debug-iphonesimulator⁩/Gaana.app’ does not exist or is not accessible
[XCUITest] at APPLICATIONS_CACHE_GUARD.acquire (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-base-driver/lib/basedriver/helpers.js:147:13)
[XCUITest] Error: Bad app: ‎⁨/⁨Users⁩/sumit.kathuria⁩/⁨Library⁩/⁨Developer⁩/⁨Xcode⁩/⁨DerivedData/⁨Gaana-dkknopffzxmymsezkeafptoyzokc⁩/⁨Build⁩/Products⁩/⁨Debug-iphonesimulator⁩/Gaana.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
[XCUITest] at XCUITestDriver.configureApp (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:689:13)
[XCUITest] at process._tickCallback (internal/process/next_tick.js:68:7)
[XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
[BaseDriver] Event ‘newSessionStarted’ logged at 1547199387110 (15:06:27 GMT+0530 (IST))
[MJSONWP] Encountered internal error running command: Error: Bad app: ‎⁨/⁨Users⁩/sumit.kathuria⁩/⁨Library⁩/⁨Developer⁩/⁨Xcode⁩/⁨DerivedData/⁨Gaana-dkknopffzxmymsezkeafptoyzokc⁩/⁨Build⁩/Products⁩/⁨Debug-iphonesimulator⁩/Gaana.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
[MJSONWP] at XCUITestDriver.configureApp (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:689:13)
[MJSONWP] at process._tickCallback (internal/process/next_tick.js:68:7)
[HTTP] <-- POST /wd/hub/session 500 903 ms - 472
[HTTP]

Have you checked the path? Could be that you have a typo or that you’ve moved the .app file. Probably nothing to do with the upgrade.

@wreed yes app path is correct. checked many times.

Interesting. Could you post the output from this command (run from a terminal):

ls -ld ⁨Users⁩/sumit.kathuria⁩/⁨Library⁩/⁨Developer⁩/⁨Xcode⁩/⁨DerivedData/⁨Gaana-dkknopffzxmymsezkeafptoyzokc⁩/⁨Build⁩/Products⁩/⁨Debug-iphonesimulator⁩/Gaana.app