Error with IOS 9 for appium 1.5

Hi all,

I am seeing the following error when trying to launch my app on a real device on IOS 9 and higher. It does not happen with lower versions. Below are the logs. Can someone please help me.

[HTTP] --> POST /wd/hub/session

[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“High5Casino_QA.ipa”,“showIOSLog”:true,“udid”:“e79177c4a9c8a5c81e51e9d8b5909f13bccbb0a6”,“platformName”:“iOS”,“deviceName”:“testDevice”},nu…

[Appium] Creating new IosDriver session

[Appium] Capabilities:

[Appium] app: ‘High5Casino_QA.ipa’

[Appium] showIOSLog: true

[Appium] udid: ‘e79177c4a9c8a5c81e51e9d8b5909f13bccbb0a6’

[Appium] platformName: ‘iOS’

[Appium] deviceName: ‘testDevice’

[BaseDriver] Session created with session id: 7ad0b040-e53e-4966-abe8-ea883fb72f69

[debug] [iOS] Not auto-detecting udid.

[debug] [iOS] App is an iOS bundle, will attempt to run as pre-existing

[debug] [iOS] Removing any remaining instruments sockets

[debug] [iOS] Cleaned up instruments socket /var/folders/gr/qptz0f2j0b71p77pc7cn015r0000gp/T/instruments_sock

[debug] [iOS] No language specified. Using default strings

[debug] [iOS] Strings file not found. Looking in ‘en.lproj’ directory

[iOS] Could not file localizable strings file ‘Localizable.strings’!

[debug] [iOS] Creating instruments

[debug] [UIAuto] Preparing bootstrap code

[debug] [UIAuto] Dynamic bootstrap dir: /Users/devops/Library/Application Support/appium/bootstrap

[debug] [UIAuto] Dynamic env: {“nodePath”:"/usr/local/Cellar/node/5.9.0/bin/node",“commandProxyClientPath”:"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/var/folders/gr/qptz0f2j0b71p77pc7cn015r0000gp/T/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

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

[debug] [UIAuto] Dynamic bootstrap path: /Users/devops/Library/Application Support/appium/bootstrap/bootstrap-8cc7cdf1b8de7e08.js

[debug] [UIAuto] Reusing dynamic bootstrap: /Users/devops/Library/Application Support/appium/bootstrap/bootstrap-8cc7cdf1b8de7e08.js

[debug] [iOS] Running ios real device reset flow

[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog

[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’

[debug] [iOS] Creating iDevice object with udid e79177c4a9c8a5c81e51e9d8b5909f13bccbb0a6

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:30 Yasmanis-iPhone AssetCacheLocatorService[792] : #205f57fb [I:AssetCacheLocatorService.queue] found no caching servers

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:32 Yasmanis-iPhone pkd[757] : assigning plug-in com.apple.stocks.widget(1.0) to plugin sandbox

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:32 Yasmanis-iPhone pkd[757] : enabling pid=58 for plug-in com.apple.stocks.widget(1.0) 747A6E88-6A62-4D7D-8425-A3F6E84B0C80 /Applications/Stocks.app/PlugIns/StocksWidget.appex

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:32 Yasmanis-iPhone StocksWidget[776] : StocksPreferences shared container path: file:///private/var/mobile/Containers/Shared/AppGroup/1DA33ED2-BF58-4D8C-99C8-AF5F8F938EDC/

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:32 Yasmanis-iPhone StocksWidget[776] : Not updating snapshot

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:33 Yasmanis-iPhone nehelper[800] : Configuration for provider com.apple.NetworkExtension.NetworkServiceProxy does not exist (<__NSConcreteUUID 0x1376073b0> 920B507E-BD18-4736-87D3-03D40D2AA48B) or is not enabled (0)

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:33 Yasmanis-iPhone UserEventAgent[26] : Probe message failed

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

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:34 Yasmanis-iPhone SpringBoard[58] : plugin com.apple.stocks.widget invalidated

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:34 Yasmanis-iPhone securityd[736] : securityd_xpc_dictionary_handler cloudd[785] copy_matching Error Domain=NSOSStatusErrorDomain Code=-50 “query missing class name” UserInfo={NSDescription=query missing class name}

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:34 Yasmanis-iPhone cloudd[785] : SecOSStatusWith error:[-50] Error Domain=NSOSStatusErrorDomain Code=-50 “query missing class name” UserInfo={NSDescription=query missing class name}

[iOSLog] [IOS_SYSLOG_ROW] Mar 23 11:17:35 Yasmanis-iPhone mobile_installation_proxy[907] : 0x16e3eb000 handle_connection: Could not receive request from host.

[MJSONWP] Encountered internal error running command: Error: Installing High5Casino_QA.ipa failed

at /usr/local/lib/node_modules/appium/node_modules/node-idevice/main.js:159: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.<anonymous> (internal/child_process.js:323:11)

at emitOne (events.js:90:13)

at Socket.emit (events.js:182:7)

at Pipe._onclose (net.js:479:12)

[HTTP] <-- POST /wd/hub/session 500 7925 ms - 173

Have you tried installing this app on the iPhone with iOS 9 manually?

Thanks for your response. You are right the app signature is expired.

Again, I really appreciate your response.