Can't launch .ipa on real device by appium v1.6.0-beta3, Sierra 10.12.2

Hello, colleagues!
I am using iPhone 5s (iOS 9.3.2). Enable UI Automation on device. As for computer - OSX Sierra 10.12.2, Xcode 7.1.3, Appium v1.6.0-beta3.
Install/uninstall works by appium, but as for launch ipa, displayed error:

Instruments exited with code: 255
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [Instruments] Attempting to launch instruments, this is try #5
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID ‘6adfff10640ea716cf7f67ad5bb3f1c4c58d1657’
[debug] [Instruments] Found Insruments-Without-Delay: /usr/local/lib/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: ‘/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/pd/167xb75974q_yf1lfgpp4ty40000gn/T/appium-instruments/instrumentscli0.trace -w 6adfff10640ea716cf7f67ad5bb3f1c4c58d1657 com.waverleysoftware.matrix -e UIASCRIPT “/Users/olga/Library/Application Support/appium/bootstrap/bootstrap-8e4aba1858c48c47.js” -e UIARESULTSPATH /var/folders/pd/167xb75974q_yf1lfgpp4ty40000gn/T/appium-instruments’
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {“global”:90000}
[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.waverleysoftware.matrix
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]
[debug] [Instruments] Instruments exited with code: 255
[Instruments] Error launching instruments: Instruments crashed on startup
[Instruments] Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:223:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:223:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[MJSONWP] Encountered internal error running command: Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:223:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)

Check this:
instruments -s devices
Known Devices:
MacBook Pro — Olga [C42DA309-5A03-5CD7-834D-AEFB5385762C]
iPhone (9.3.2) [6adfff10640ea716cf7f67ad5bb3f1c4c58d1657]

And this:
ideviceinstaller -i /Users/olga/Downloads/matrix.ipa
WARNING: could not locate iTunesMetadata.plist in archive!
WARNING: could not locate Payload/Matrixx Mobile.app/SC_Info/Matrixx Mobile.sinf in archive!
Copying ‘/Users/olga/Downloads/matrix.ipa’ to device… DONE.
Installing ‘com.waverleysoftware.matrix’

  • CreatingStagingDirectory (5%)
  • ExtractingPackage (15%)
  • InspectingPackage (20%)
  • TakingInstallLock (20%)
  • PreflightingApplication (30%)
  • InstallingEmbeddedProfile (30%)
  • VerifyingApplication (40%)
  • CreatingContainer (50%)
  • InstallingApplication (60%)
  • PostflightingApplication (70%)
  • SandboxingApplication (80%)
  • GeneratingApplicationMap (90%)
  • Complete

Could you help me resolved this issue, please

My first guess would be around the capabilities you are using based on this line:

[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.waverleysoftware.matrix

If you can post the capabilities of your Appium Server, it might provide additional information.

we create node
and post this capability

[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args:
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.6.0-beta3”,“revision”:null}}
[HTTP] ← GET /wd/hub/status 200 42 ms - 89
[HTTP] → POST /wd/hub/session {“desiredCapabilities”:{“app”:“/Users/olga/Downloads/matrix.ipa”,“sendKeyStrategy”:“grouped”,“newCommandTimeout”:“180”,“platformVersion”:“9.3.2”,“browserName”:“6adfff10640ea716cf7f67ad5bb3f1c4c58d1657”,“reset”:true,“platformName”:“iOS”,“udid”:“6adfff10640ea716cf7f67ad5bb3f1c4c58d1657”,“interKeyDelay”:“50”,“deviceName”:“iPhone”,“fullReset”:false,“autoAcceptAlerts”:true}}

Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: ‘/Users/olga/Downloads/matrix.ipa’
[Appium] sendKeyStrategy: ‘grouped’
[Appium] newCommandTimeout: ‘180’
[Appium] platformVersion: ‘9.3.2’
[Appium] browserName: ‘6adfff10640ea716cf7f67ad5bb3f1c4c58d1657’
[Appium] reset: true
[Appium] platformName: ‘iOS’
[Appium] udid: ‘6adfff10640ea716cf7f67ad5bb3f1c4c58d1657’
[Appium] interKeyDelay: ‘50’
[Appium] deviceName: ‘iPhone’
[Appium] fullReset: false
[Appium] autoAcceptAlerts: true
[debug] [iOS] IosDriver version: 1.15.2

In your capabilities if you want to execute web tests, your browserName capability needs be set to “Safari” (for iOS), it is currently your UDID. If you are using iOS 9.X and XCode 7.x you will most likely need to use Safari-Launcher and ios-web-kit-debug-proxy to make your tests work.

If you want to launch an app, remove the browserName capability. If you are using iOS 9.X and XCode 7.x you will most likely need to use ios-webkit-debug-proxy.

I use only native app, and don’t need web version and it is for identification node only

A couple of ideas, try removing the browserName capability and make sure the ios-webkit-debug-proxy is running.

Also try running with just a platformVersion of 9.3

I try to delete it, but nothing happened ((