App is not launching with new appium 1.3.1

I upgraded the appium version to 1.3.1 today and I am encountering some issues when running the app on iPhone real device. I couldn’t able to launch the application as its failing saying unable to install the application into device with [UDID]. Please note that this application is already installed in device but still it’s trying to install it using fruitstrap.

OS Version : OS X 10.9.5
Device : iPhone 5
Appium version: 1.3.1
Language : Java

Please see the below error log and help me out to solve this. Let me know if more information required. Thanks in Advance.

info: Client User-Agent string: undefined
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : bundleid
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session e1ba3740-e31b-48c4-a80d-0d7bdc2214e2
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder

info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] Getting sdk version from xcrun with a timeout

info: [debug] iOS SDK Version set to 8.1

info: [debug] Not checking whether simulator is available since we’re on a real device
info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim

parseFileSync() is deprecated. Use parseStringSync() instead.

info: [debug] Could not parse plist file (as binary) at /Applications/
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/
warn: Could not parse app Localizable.strings; assuming it doesn’t exist
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/pamodhpanagoda/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Applications/",“commandProxyClientPath”:"/Applications/",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false}

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

info: [debug] Dynamic bootstrap path: /Users/pamodhpanagoda/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js

info: [debug] Reusing dynamic bootstrap: /Users/pamodhpanagoda/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js

info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1”,“iOSSDKVersion”:“8.1”,“deviceName”:“iPhone 5”,“platformVersion”:“7.0.4”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 5 (7.0.4 Simulator)’
info: [debug] Not setting device type since we’re on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we’re on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons

info: [debug] On a real device; cannot clean device state

info: [debug] Not setting locale because we’re using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole

info: [debug] Not pre-launching simulator

info: [debug] Creating iDevice object with udid 7b8b0790967d1b6d1b17c984d7d3be60701787cf
info: [debug] Couldn’t find ideviceinstaller, trying built-in at /Applications/

info: [debug] Checking app install status using: /Applications/ isInstalled --id 7b8b0790967d1b6d1b17c984d7d3be60701787cf --bundle

info: [debug] App is not installed. Will try to install the app.

info: [debug] Installing app using cmd: /Applications/ install --id 7b8b0790967d1b6d1b17c984d7d3be60701787cf --bundle “”

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Unable to install [] to device with id [7b8b0790967d1b6d1b17c984d7d3be60701787cf]. Error [Error: Command failed: Assertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.

info: [debug] Error: Unable to install [] to device with id [7b8b0790967d1b6d1b17c984d7d3be60701787cf]. Error [Error: Command failed: Assertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.
at /Applications/
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)

Figure it out the issue :slight_smile:

  1. Installed the “ideviceinstaller” manually which was missing
  2. I had remove the DesiredCapabilities type “capabilities.setCapability(“app”, “”);” from my code which i used earlier.

App launched :slight_smile:

Hi Peushan. I am having the exact same error/issue. Will you please list more details/steps on how u installed the ideviceinstaller manually? I am new to the Mac Enviroment…mainly Windows developer. But need to get the iphone working with my Mac.

Thanks in advance…

btw…i searched on ideviceinstaller already…and downloaded the file…it opened in xcode…what terminal commands to I need to run?

Okay…found these instructions on how to install the missing files…

I have installed ideviceinstaller but still it is trying to install using fruitstrap. any suggestions?