Tests no longer running on real device - all of a sudden

Hi,

For the last couple of days i’ve been working quite happily running tests on my device (iPhone 6).

Today i changed a couple of locators in the code and kicked off the test again. The app installs ok on my phone as usual, but now it won’t start up and the test won’t run. I get messages in the log telling me that instruments won’t start, but i’ve no idea why this would happen all of a sudden.

I’ve rebooted the phone and the macbook but am now in limbo.

I’ve attached a link to the logs - any help is much appreciated

https://drive.google.com/file/d/0ByVjKn3BZgH2YXpZRHZtbEwxQlk/view?usp=sharing

i guess a follow up question to this is, can something in my test code cause instruments to crash on start up?

Guessing this is the main bit to look at

info: Launching instruments
info: [debug] Attempting to run app on real device with UDID ab68d120754425d7871901de40832910d724ca63
info: [debug] 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 /tmp/appium-instruments/instrumentscli0.trace -w ab68d120754425d7871901de40832910d724ca63 com.truliainc.Trulia -e UIASCRIPT “/Users/Hugo/Library/Application Support/appium/bootstrap/bootstrap-4b9d53af49bf41ee.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}

info: [IOS_SYSLOG_ROW ] Jan 15 20:50:08 Hugos-iPhone kernel[0] : flow_divert_token_set (0): Failed to get the key unit from the token: 22

info: [IOS_SYSLOG_ROW ] Jan 15 20:50:08 Hugos-iPhone lockdownd[67] : Could not set socket option SO_OPPORTUNISTIC: Invalid argument

info: [IOS_SYSLOG_ROW ] Jan 15 20:50:08 Hugos-iPhone kernel[0] : flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Jan 15 20:50:08 Hugos-iPhone lockdownd[67] : Could not set socket option SO_OPPORTUNISTIC: Invalid argument

info: [debug] [INST STDERR] 2015-01-15 20:50:09.436 instruments[2437:138839] Failed to start Instruments daemon on ‘Hugo’s iPhone (8.1.2)’ (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Jan 15 20:50:08 Hugos-iPhone notification_proxy[214] : 0x100484000 -[MNPLockdownConnection receiveMessage]:

Further update - i’ve tried native instruments flag and its still no good. I can open the app using the instruments from Xcode with no issues. It’s just through Appium now.

BTW - this is a re-signed ipa, i don’t have the source code