The app crashes right away on an iPad using Appium but not Xcode

Platform - IOS 8.1
Appium version - 1.3.4
Real Device - iPad retina
Language - Ruby
Xcode - 6.1 (6A1052d)
OSX - 10.9.5

appium_lib (4.1.0)
  awesome_print (~> 1.2, >= 1.2.0)
  json (~> 1.8, >= 1.8.1)
  nokogiri (~> 1.6.1)
  selenium-webdriver (~> 2.41, >= 2.41.0)
  toml (~> 0.0, >= 0.0.4)

I am able to build and deploy it on this device from Xcode. Appium can move the .app to the device and I can started it by touching the icon. The problem is when I try run a test from the Ruby lib the app will come up to the splash screeen briefly then appear to crash, this is attempted 3 times before it gives up. I’m starting to think my App does something weird. I may write a simple app and see if I have this same problem.

Here is the ruby code:

require 'appium_lib'

capabilities = {
    deviceName:        "Brent's iPad",
    udid:              'e8564c033b3ed8b8baa5f4a84981c1e3684c302e',
    platformVersion:   '8.1',
    app:               '/Users/blavelle/HAIntStageIphoneOS.app',
    platformName:      :ios,
}
appium = Appium::Driver.new(caps: capabilities)

Here is the Appium log

> appium  --native-instruments-lib --show-ios-log
info: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"nativeInstrumentsLib":true,"showIOSLog":true}
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"Brent's iPad","udid":"e8564c033b3ed8b8baa5f4a84981c1e3684c302e","platformVersion":"8.1","app":"/Users/blavelle/HAIntStageIphoneOS.app","platformName":"ios"}}
info: Client User-Agent string: Ruby
info: [debug] Using local app from desired caps: /Users/blavelle/HAIntStageIphoneOS.app
info: [debug] Creating new appium session 3e52a0ba-902d-4425-9b55-2da2e0ae1fa9
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
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/blavelle/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/usr/local/bin/node","commandProxyClientPath":"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"sendKeyStrategy":"grouped"}
...o: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/blavelle/Library/Application Support/appium/bootstrap/bootstrap-d0f21a5b61bb08af.js
info: [debug] Reusing dynamic bootstrap: /Users/blavelle/Library/Application Support/appium/bootstrap/bootstrap-d0f21a5b61bb08af.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.1","iOSSDKVersion":"8.1","deviceName":"Brent's iPad","platformVersion":"8.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'Brent's iPad (8.1 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 e8564c033b3ed8b8baa5f4a84981c1e3684c302e
info: [debug] Couldn't find ideviceinstaller, trying built-in at /usr/local/lib/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id e8564c033b3ed8b8baa5f4a84981c1e3684c302e --bundle com.homeaway.internal
info: [debug] App is not installed. Will try to install the app.
info: [debug] Installing app using cmd: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap install --id e8564c033b3ed8b8baa5f4a84981c1e3684c302e --bundle "/Users/blavelle/HAIntStageIphoneOS.app"
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:19 Brents-iPad kernel[0] <Notice>: 452023.005048 wlan0.A[164683] AppleBCMWLANCore::dumpWmeCounters():  per AC tx counters: 1283811 62025 79672 96261, rx counters: 2826538 624449 11136 9721
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:19 Brents-iPad kernel[0] <Notice>: 452023.005108 wlan0.A[164684] AppleBCMWLANCore::dumpWmeCounters():                AWDL: Tx 32338 0 0 0      Rx: 3277 0 0 0
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:29 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:29 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:29 Brents-iPad mobile_installation_proxy[2604] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:29 Brents-iPad mobile_installation_proxy[2604] <Warning>: LaunchServices: installing app with unknown bundleID
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:29 Brents-iPad installd[2605] <Notice>: 0x3a5000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/HAIntStageIphoneOS.app" type Developer requested by mobile_installation_proxy (pid 2604)
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:29 Brents-iPad installd[2605] <Notice>: 0x3a5000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.homeaway.internal; Version=local-build, ShortVersion=3.14.0STAGE>
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad MobileStorageMounter[2790] <Error>: 0x33ea89dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad MobileStorageMounter[2790] <Error>: 0x33ea89dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad MobileStorageMounter[2790] <Error>: 0x33ea89dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad MobileStorageMounter[2790] <Error>: 0x33ea89dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad profiled[2287] <Notice>: (Note ) MC: Provisioning profiles changed
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad installd[2605] <Error>:  SecTrustEvaluate  [leaf CriticalExtensions IssuerCommonName]
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad installd[2605] <Notice>: 0x3a5000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.homeaway.internal at /private/var/mobile/Containers/Data/Application/2BAEA979-2064-497E-9DFD-AB82A7DB6BBA
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad installd[2605] <Notice>: 0x3a5000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.homeaway.internal at /private/var/mobile/Containers/Bundle/Application/4D20033F-0EDC-47EA-AF89-2A54C24E961B
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad installd[2605] <Notice>: 0x3a5000 -[MIInstaller performInstallationWithError:]: Staging: 0.02s; Waiting: 0.00s; Installation: 0.87s; Overall: 0.89s
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad lsd[71] <Warning>: LaunchServices: Updating identifier store
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID e8564c033b3ed8b8baa5f4a84981c1e3684c302e
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 e8564c033b3ed8b8baa5f4a84981c1e3684c302e com.homeaway.internal -e UIASCRIPT "/Users/blavelle/Library/Application Support/appium/bootstrap/bootstrap-d0f21a5b61bb08af.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 ] Dec  5 14:12:30 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:30 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Error>: libMobileGestalt MobileGestalt.c:843: front-facing-camera cannot generate notifications yet
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Error>: libMobileGestalt MobileGestalt.c:841: still-camera is static and will never generate a notification
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Error>: libMobileGestalt MobileGestalt.c:841: ipad is static and will never generate a notification
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Error>: libMobileGestalt MobileGestalt.c:841: any-telephony is static and will never generate a notification
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Error>: libMobileGestalt MobileGestalt.c:841: stand-alone-contacts is static and will never generate a notification
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Warning>: ADDING REMOTE com.homeaway.internal, <BBRemoteDataProvider 0x180783b0; com.homeaway.internal>
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad SpringBoard[42] <Warning>: Installed apps did change.
info: [IOS_SYSLOG_ROW ] Added: {(
info: [IOS_SYSLOG_ROW ] "com.homeaway.internal"
info: [IOS_SYSLOG_ROW ] )}
info: [IOS_SYSLOG_ROW ] Removed: {(
info: [IOS_SYSLOG_ROW ] )}
info: [IOS_SYSLOG_ROW ] Modified: {(
info: [IOS_SYSLOG_ROW ] )}
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:31 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [debug] [INST STDERR] 2014-12-05 14:12:39.417 instruments[448:473b] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:32 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:32 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:32 Brents-iPad SpringBoard[42] <Warning>: Entitlement com.apple.multitasking.termination required to kill applications.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:32 Brents-iPad kernel[0] <Notice>: xpcproxy[2792] Container: /private/var/mobile/Containers/Data/Application/2BAEA979-2064-497E-9DFD-AB82A7DB6BBA (sandbox)
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad locationd[62] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad HA Int Stage[2792] <Error>: assertion failed: 12B410: libxpc.dylib + 51955 [04694BEB-256F-3132-A00F-0C82B79BC689]: 0x7d
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad Unknown[2792] <Error>:
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad ScriptAgent[2793] <Warning>: UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad notification_proxy[2597] <Error>: 0x481000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad notification_proxy[2597] <Error>: 0x585000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:33 Brents-iPad HA Int Stage[2792] <Warning>: INFO: emails set! they are : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad ScriptAgent[2793] <Warning>: UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad ScriptAgent[2793] <Error>: *** Terminating app due to uncaught exception 'kUIAExceptionUIAutomationNotEnabled', reason: 'UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings.'
info: [IOS_SYSLOG_ROW ] *** First throw call stack:
info: [IOS_SYSLOG_ROW ] (0x23485d67 0x310fcc77 0x23485cad 0x25d475 0x25d38b 0x1eb8e3 0x24197baf 0x2344c5e7 0x2344b9fb 0x2344a079 0x23397981 0x23397793 0x240d2951 0x24120dc5 0xda7c1 0x31698aaf)
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad ReportCrash[2794] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad ReportCrash[2794] <Notice>: ReportCrash acting against PID 2793
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Warning>: INFO: Base config url is now: http://modash-usstg1.wvrgroup.internal/modash/v3/config
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Warning>: DEBUG: Configured Environment: STAGE
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Warning>: DEBUG: FB: 174366222619074
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Warning>: DEBUG: GA: UA-34862230-5
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Warning>: DEBUG: TestFlight: 5d684d43-dc3d-4e98-937a-ec61e5875932
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Notice>: TestFlight: Started Session
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad ReportCrash[2794] <Notice>: Formulating crash report for process ScriptAgent[2793]
info: [debug] [INST STDERR] 2014-12-05 14:12:41.789 instruments[448:1003] Automation Instrument ran into an exception while trying to run the script.  UIAScriptAgentSignaledException
info: [debug] [INST] 2014-12-05 20:12:41 +0000 Fail: An error occurred while trying to run the script.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Notice>: TestFlight: Crash Handlers are installed
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad HA Int Stage[2792] <Notice>: TestFlight: Checkpoint Passed - Application_Launch
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad SpringBoard[42] <Warning>: BSXPCMessage received error for message: Connection invalid
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad com.apple.xpc.launchd[1] (UIKitApplication:com.homeaway.internal[0xa6d3][2792]) <Notice>: Service exited due to signal: Killed: 9
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad ReportCrash[2794] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/ScriptAgent_2014-12-05-141234_Brents-iPad.ips
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad SpringBoard[42] <Warning>: Application 'UIKitApplication:com.homeaway.internal[0xa6d3]' exited abnormally via signal.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad assertiond[56] <Warning>: Could not set priority of <BKNewProcess: 0x15d74a10; com.homeaway.internal; pid: 2792> to 2, priority: No such process
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad assertiond[56] <Warning>: Could not set priority of <BKNewProcess: 0x15d74a10; com.homeaway.internal; pid: 2792> to 4096, priority: No such process
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad UserEventAgent[18] <Warning>: id=com.homeaway.internal pid=2792, state=0
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad SpringBoard[42] <Warning>: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:34 Brents-iPad locationd[62] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
info: [debug] [INST] Instruments Trace Complete (Duration : 3.267961s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] Killall iOS Simulator
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:35 Brents-iPad DTMobileIS[2603] <Warning>: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:35 Brents-iPad DTMobileIS[2603] <Warning>: Could not create service named com.apple.instruments.server.services.launchdaemon
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:35 Brents-iPad notification_proxy[2597] <Error>: 0x481000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:35 Brents-iPad notification_proxy[2597] <Error>: 0x481000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:39 Brents-iPad locationd[62] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID e8564c033b3ed8b8baa5f4a84981c1e3684c302e
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 e8564c033b3ed8b8baa5f4a84981c1e3684c302e com.homeaway.internal -e UIASCRIPT "/Users/blavelle/Library/Application Support/appium/bootstrap/bootstrap-d0f21a5b61bb08af.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 ] Dec  5 14:12:40 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [debug] [INST STDERR] 2014-12-05 14:12:48.281 instruments[452:4b1b] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:40 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:41 Brents-iPad SpringBoard[42] <Warning>: Entitlement com.apple.multitasking.termination required to kill applications.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:41 Brents-iPad kernel[0] <Notice>: xpcproxy[2796] Container: /private/var/mobile/Containers/Data/Application/2BAEA979-2064-497E-9DFD-AB82A7DB6BBA (sandbox)
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:41 Brents-iPad locationd[62] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:41 Brents-iPad HA Int Stage[2796] <Error>: assertion failed: 12B410: libxpc.dylib + 51955 [04694BEB-256F-3132-A00F-0C82B79BC689]: 0x7d
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:41 Brents-iPad Unknown[2796] <Error>:
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: INFO: emails set! they are : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad notification_proxy[2597] <Error>: 0x607000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: INFO: Base config url is now: http://modash-usstg1.wvrgroup.internal/modash/v3/config
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: DEBUG: Configured Environment: STAGE
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: DEBUG: FB: 174366222619074
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: DEBUG: GA: UA-34862230-5
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: DEBUG: TestFlight: 5d684d43-dc3d-4e98-937a-ec61e5875932
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad ScriptAgent[2797] <Warning>: UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Notice>: TestFlight: Started Session
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad notification_proxy[2597] <Error>: 0x481000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Notice>: TestFlight: Crash Handlers are installed
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Notice>: TestFlight: Checkpoint Passed - Application_Launch
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad SpringBoard[42] <Warning>: No valid 'aps-environment' entitlement string found for application 'HA Int Stage': (null). Notifications will not be delivered.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: DEBUG: -[HAAppDelegate application:didFinishLaunchingWithOptions:] showing root scene
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: TRACE: Root view going to be scene: welcomeScene
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad HA Int Stage[2796] <Warning>: <Google> ACTConversionIDReporter: sending ping: https://www.googleadservices.com/pagead/conversion/1067338533/?appversion=local-build&bundleid=com.homeaway.internal&label=wbM7CJaLqlYQpZb5_AM&lat=0&muid=GlD9lw3Fjs5NUtO2sD3xeA&osversion=8.1&sdkversion=ct-sdk-i-v3.1.1&timestamp=1417810362.867289&usage_tracking_enabled=1&value=0.00.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad ScriptAgent[2797] <Warning>: UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad ScriptAgent[2797] <Error>: *** Terminating app due to uncaught exception 'kUIAExceptionUIAutomationNotEnabled', reason: 'UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings.'
info: [IOS_SYSLOG_ROW ] *** First throw call stack:
info: [IOS_SYSLOG_ROW ] (0x23485d67 0x310fcc77 0x23485cad 0x1b6475 0x1b638b 0x1448e3 0x24197baf 0x2344c5e7 0x2344b9fb 0x2344a079 0x23397981 0x23397793 0x240d2951 0x24120dc5 0x337c1 0x31698aaf)
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:42 Brents-iPad ReportCrash[2794] <Notice>: ReportCrash acting against PID 2797
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad ReportCrash[2794] <Notice>: Formulating crash report for process ScriptAgent[2797]
info: [debug] [INST STDERR] 2014-12-05 14:12:50.582 instruments[452:1003] Automation Instrument ran into an exception while trying to run the script.  UIAScriptAgentSignaledException
info: [debug] [INST] 2014-12-05 20:12:50 +0000 Fail: An error occurred while trying to run the script.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad HA Int Stage[2796] <Warning>: application active
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad mediaserverd[2067] <Notice>: '' com.homeaway.internal(pid = 2796) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_PresenceScan
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad mediaserverd[2067] <Notice>: '' com.homeaway.internal(pid = 2796) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_PresenceScan
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad com.apple.xpc.launchd[1] (UIKitApplication:com.homeaway.internal[0xfe93][2796]) <Notice>: Service exited due to signal: Killed: 9
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad ReportCrash[2794] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/ScriptAgent_2014-12-05-141242_Brents-iPad.ips
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad SpringBoard[42] <Warning>: Application 'UIKitApplication:com.homeaway.internal[0xfe93]' exited abnormally via signal.
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad assertiond[56] <Warning>: pid_suspend failed for <BKNewProcess: 0x15e75820; com.homeaway.internal; pid: 2796>: Unknown error: -1, Unknown error: -1
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad assertiond[56] <Warning>: Could not set priority of <BKNewProcess: 0x15e75820; com.homeaway.internal; pid: 2796> to 2, priority: No such process
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad assertiond[56] <Warning>: Could not set priority of <BKNewProcess: 0x15e75820; com.homeaway.internal; pid: 2796> to 4096, priority: No such process
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad UserEventAgent[18] <Warning>: id=com.homeaway.internal pid=2796, state=0
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad SpringBoard[42] <Warning>: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
info: [IOS_SYSLOG_ROW ] Dec  5 14:12:43 Brents-iPad locationd[62] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
info: [debug] [INST] Instruments Trace Complete (Duration : 2.981958s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #2
info: [debug] Killall iOS Simulator

I have got this issue before and it’s pretty simple to fix it: you should go to Settings on your device -> Developers -> Enable UI Automation.

Let me know if this doesn’t work.

1 Like

That fixed the not starting problem, thanks @tbao!

The swipes didn’t work on the iPad but I can run tests on them now. In fact they act similar to the simulator. If it is attempting to swipe while I swipe I see something happen. Not what I want but it is trying to do something. This is on iOS 8.0 I’ll try upgrading this device and getting my 7.0.6 device’s udid added to our developer account.

No swiping in iOS 7.0.6 and 8.1 I’ll just get the developers to give me another way to get by these swipe actions.

@brentlavelle I am not sure what you want to do with swipe gesture, but I am able to use swipe on real device ( my app use swipe down gesture to refresh the view).
Unfortunately it does not work on simulator and this has been confirmed by this thread: iOS 8 swipe / scrollTo

@tbao awesome man it’s working

thx