Appium: error: Failed to start an Appium session, err was: Error: Instruments crashed on startup

Created on 3 Mar 2016  Â·  51Comments  Â·  Source: appium/appium

The problem

Hi,
could anybody please check my Appium log and maybe tell me whats the Problem!
i just installed everything is needed to start test automation on my mac for iOS, but at first step, when i run the Appium inspector to check if i can run the App on simulator , it fails, however i can run the simulator with command and it starts without appium.
i installed also Appium 1.5.0 via brew, but don't know how i can use that to run the simulator in command line after starting " Appium & "

Environment

  • Appium version (1.4.13) that exhibits the issue:1.4.13
  • Last Appium version that did not exhibit the issue (if applicable): - didn't use it for this project before
  • Desktop OS/version used to run Appium: OSX El Capitan 0.11.3 (15D21)
  • Node.js version (unless using Appium.app|exe): v5.7.1
  • Mobile platform/version under test: iPhone 6 iOS 8.1 / iPhone 5s iOS 8.1
  • Real device or emulator/simulator: Simulator
  • Appium CLI or Appium.app|exe: Appium.app|exe

    Details

i'm using Xcode Version 7.2.1
Appium Version 1.4.13 (Draco)
Node v5.7.1
npm 3.6.0

Appium Doctor:
bin/appium-doctor.js'
Running iOS Checks
✔ Xcode is installed at /Applications/Xcode.app/Contents/Developer
✔ Xcode Command Line Tools are installed.
✔ DevToolsSecurity is enabled.
✔ The Authorization DB is set up properly.
✔ Node binary found at /usr/local/bin/node
✔ iOS Checks were successful.

Link to Appium logs

Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --debug-log-spacing --platform-version "8.1" --platform-name "iOS" --app "/Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app" --show-ios-log --device-name "iPhone 5"

info: Welcome to Appium v1.4.13 (REV c75d8adcb66a75818a542fe1891a34260c21f76a)

info: Appium REST http interface listener started on 0.0.0.0:4723

info: [debug] Non-default server args: {"app":"/Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app","deviceName":"iPhone 5","platformName":"iOS","platformVersion":"8.1","showIOSLog":true,"defaultCommandTimeout":7200,"debugLogSpacing":true}

info: Console LogLevel: debug

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: <-- GET /wd/hub/status 200 10.660 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}
info: <-- GET /wd/hub/status 200 3.179 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 1.486 ms - 23 {"status":0,"value":[]}

info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.1","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 5"}}

info: Client User-Agent string: Appium (unknown version) CFNetwork/760.2.6 Darwin/15.3.0 (x86_64)
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: * NEW SESSION *
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
***********
info:
***********
info:
***********
info:
***********
info:
***********
info:
***********
info:
***********
info:
************

info: [debug] Using local app from command line: /Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app
info: [debug] Creating new appium session 99f17831-5f44-41fb-bb4d-dad212753c74
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode version

info: [debug] Xcode version set to 7.2.1

info: [debug] Setting iOS SDK Version
info: [debug] iOS SDK Version set to 9.2
info: [debug] Checking whether instruments supports our device string

info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"7.2.1","iOSSDKVersion":"9.2","deviceName":"iPhone 5","platformVersion":"8.1"}

info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 5 (8.1)'
info: [debug] iOS sim UDID is 5A607415-41F5-4208-AF64-670F9BB02F84
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim

element parse error: Error: invalid tagName:#x
@#[line:105,col:36]

info: [debug] Could not parse plist file (as binary) at /Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Getting bundle ID from app

element parse error: Error: invalid tagName:#y
@#[line:105,col:44]
element parse error: Error: invalid tagName:#x
@#[line:106,col:32]
element parse error: Error: invalid tagName:#y
@#[line:106,col:40]

info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/Shared/Jenkins/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"oneByOne"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/Shared/Jenkins/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js
info: [debug] Reusing dynamic bootstrap: /Users/Shared/Jenkins/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"7.2.1","iOSSDKVersion":"9.2","deviceName":"iPhone 5","platformVersion":"8.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 5 (8.1)'
info: [debug] We're on iOS7.1+ so forcing defaultDevice on
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"7.2.1","iOSSDKVersion":"9.2","deviceName":"iPhone 5","platformVersion":"8.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 5 (8.1)'

info: [debug] Parsed app Info.plist (as binary)

info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons

info: [debug] Killall iOS Simulator

info: [debug] Cleaning sim data files
info: node-simctl: Executing: xcrun with args: simctl erase 5A607415-41F5-4208-AF64-670F9BB02F84 and timeout: 2000

info: [debug] Cleaning app data files

warn: Applications directory /Users/Shared/Jenkins/Library/Developer/CoreSimulator/Devices/5A607415-41F5-4208-AF64-670F9BB02F84/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/Shared/Jenkins/Library/Developer/CoreSimulator/Devices/5A607415-41F5-4208-AF64-670F9BB02F84/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS 8.* simulator log capture

info: [debug] Not pre-launching simulator
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 iPhone 5 (8.1)
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 "iPhone 5 (8.1)" "/Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app" -e UIASCRIPT "/Users/Shared/Jenkins/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found. Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x10D0E1000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib

info: [debug] Killall iOS Simulator

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"99f17831-5f44-41fb-bb4d-dad212753c74"}

info: <-- GET /wd/hub/status 200 2.067 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"99f17831-5f44-41fb-bb4d-dad212753c74"}

info: Launching instruments

info: [debug] Attempting to run app on iPhone 5 (8.1)

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 "iPhone 5 (8.1)" "/Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app" -e UIASCRIPT "/Users/Shared/Jenkins/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #2
info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found. Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x104CBA000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib

info: [debug] Killall iOS Simulator

info: Launching instruments

info: [debug] Attempting to run app on iPhone 5 (8.1)
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 "iPhone 5 (8.1)" "/Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app" -e UIASCRIPT "/Users/Shared/Jenkins/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #3
info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found. Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x1053DD000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib

info: [debug] Killall iOS Simulator

info: Launching instruments

info: [debug] Attempting to run app on iPhone 5 (8.1)

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 "iPhone 5 (8.1)" "/Users/Shared/Jenkins/Desktop/untitled folder 5/Debug-iphonesimulator/WeGo.de.app" -e UIASCRIPT "/Users/Shared/Jenkins/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found. Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x107C62000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib

info: [debug] Killall iOS Simulator

info: [debug] Cleaning sim data files
info: node-simctl: Executing: xcrun with args: simctl erase 5A607415-41F5-4208-AF64-670F9BB02F84 and timeout: 2000

info: [debug] Cleaning app data files

warn: Applications directory /Users/Shared/Jenkins/Library/Developer/CoreSimulator/Devices/5A607415-41F5-4208-AF64-670F9BB02F84/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/Shared/Jenkins/Library/Developer/CoreSimulator/Devices/5A607415-41F5-4208-AF64-670F9BB02F84/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Instruments crashed on startup

info: [debug] Error: Instruments crashed on startup
at [object Object].Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:440:31)
at [object Object]. (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:353:12)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
info: <-- POST /wd/hub/session 500 16545.681 ms - 182

iOS

Most helpful comment

C:\Users\lbelaladavar\AppData\Roaming\npm\node_modules\appium\lib\main.js is the wrong target to run. The JavaScript is built into build.

C:\Users\lbelaladavar\AppData\Roaming\npm\node_modules\appium\build\lib\main.js

All 51 comments

Can you please update your appium to v1.5.0 through npm and give it a try..

i will give a try, but first i have a question ( because i'm new with all these stuff : (
if i try it with npm , then the GUI Appium ( Appium.app)get updated?

i have it:
jenkins$ appium --version
1.5.0

but how i can run inspector without gui to check if App can get run on simulator an i have correct build ...

@kimoan when you install appium with npm , no GUI appium will not get updated.
By default the .app will be debug build, so it should work with appium ..

If you still want to try with GUI please check if you have set custom flag as in the image below

screen shot 2016-03-03 at 8 02 43 pm

I am having the same issue when trying to launch safari on real ipad and i have same configuration.
I tried updating to Appium1.5 through npm and tried launching Safari but getting following error:
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.2 clean' errored out: Error: spawn xcodebuild ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)
at ChildProcess. (lib/teen_process.js:31:14)
at emitOne (events.js:90:13)
at ChildProcess.emit (events.js:182:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)
[Error: Command 'xcodebuild -sdk iphoneos9.2 clean' errored out: Error: spawn xcodebuild ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)]
[iOS] Bad app: '/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
[MJSONWP] Encountered internal error running command: Error: Bad app: /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
at IosDriver.configureApp$ (lib/driver.js:229:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:453:9)
at process._tickCallback (node.js:382:13)

Is there any way to get Appium GUI for 1.5 ? if not then how can I have a shortcut on desktop on mac for launching Appium as /usr/local is hidden in finder so it is bit time consuming to drill down into /usr/local/lib/node_modules/appium?

Please help
Thanks

my problem has been resolved now! :+1: and the simulator is starting with inspector
" --native-instruments-lib " thats was the problem , tnX

How did you fix this? Are you still using same Appium configuration 1.4.13 or some other version/settings?
Could you please share?

Thanks

yes i use the same Appium (1.4.13) the only thing that i change is due to that pic which #Saikrishna321 posted " --native-instruments-lib "

check if you have set custom flag as in the image above

when i don't use this flag i get this error and simulator can't get started from appium :

info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found. Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x107C62000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib

I tried that but getting error on launching safarilauncher, not sure when I tried to install Appium 1.5 , could that create any conflict if yes could you please guide how to resolve that.
Enabled using native instrument library but getting the same error

Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at UnitTestProject2.UnitTest1.TestMethod1() in C:\EDTestAutomation\Ed.LMS\MainUnitTestProject2UnitTestProject2AppiumIpad.cs:line 28
Result Message:
Test method UnitTestProject2.UnitTest1.TestMethod1 threw exception:
System.InvalidOperationException: An unknown server-side error occurred while processing the command. Original error: Bad app: /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.

Appium server gives the same error as A new session could not be created.
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: ENOENT, stat '/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip')","errno":-2,"code":"ENOENT","path":"/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip","origValue":"ENOENT, stat '/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip'"},"sessionId":null}
info: <-- POST /wd/hub/session 500 8.276 ms - 498

Please help me in resolving this.

Thanks

i have also install Appium 1.5.0 via npm , but i'm using the appium gui (1.4.13) and have not any conflict on that.

  • sorry i'm new in Appium stuff, don't have any other idea, maybe it's better if you create a new issue ticket and describe your issue there, so that other people see your log data and give you some solution maybe.

Goodluck

@kimoan If your issue is resolved can you close the issue?

I am still observing the same error, Srinivasan before this issue is marked as close , could you please throw some light on this issue ?

Thanks

Sure But in your previous comments you have posted as your problem got resolved. please update us the exact issue now.

some confusion over here, I mentioned that I could update to Appium1.5 using npm but couldn't launch Safari on ipad.
I could build the SafariLauncher in xcode but get error on run as process launch failed on ipad
Same error in the script:

Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities) at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) at OpenQA.Selenium.Appium.AppiumDriver1..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Appium.iOS.IOSDriver`1..ctor(Uri remoteAddress, DesiredCapabilities desiredCapabilities)
at UnitTestProject2.UnitTest1.TestMethod1() in C:\EDTestAutomation\Ed.LMS\MainUnitTestProject2UnitTestProject2AppiumIpad.cs:line 27
Result Message:
Test method UnitTestProject2.UnitTest1.TestMethod1 threw exception:
System.InvalidOperationException: A new session could not be created. (Original error: ENOENT, stat '/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip') (33)

Thanks

Can you paste the entire appium logs as gist? https://gist.github.com/

Also the code snippet how you tried to launch safari through appium?

Does appium store log in some log folder?

Appium 1.5 got installed at /usr/local/lib/node_modules/appium
Appium1.4.13 GUI app is installed in Applications/Appium.app/

Created gist of my test script at
https://gist.github.com/pshilpa1/1c3e2ed43290d9ecb389

Steps I am doing to launch Safari on ipad are:

  1. Build SafariLauncher xcode with valid certificate and provisioning profile
  2. Using Appium GUI 1.4.13
    iOs seetings: App path tried using SafariLauncher.app path and tried without app path enabling Use Mobile Safari
    Checked Force Device to use my ipad
    Checked UDID and added my ipad's udid
    Checked Show iOS system log
    Advanced settings: Checked use native instrument library
  3. Settings in Appium GUI
    Server address :used my mac ip address where Appium is installed
    tried using default 127.0.0.1:4723 as well
  4. Appium doctor passed all checks for iOS
  5. Hit Launch
  6. Run my test script from Windows VS system that is posted at gist
    Please let me know if you need any more details.

Thanks

Thanks for detailed gist Shilpa. I'm looking into this.
On 03-Mar-2016 10:30 pm, "pshilpa1" [email protected] wrote:

Appium 1.5 got installed at /usr/local/lib/node_modules/appium
Appium1.4.13 GUI app is installed in Applications/Appium.app/

Created gist of my test script at
https://gist.github.com/pshilpa1/1c3e2ed43290d9ecb389

Steps I am doing to launch Safari on ipad are:

  1. Build SafariLauncher xcode with valid certificate and provisioning
    profile
  2. Using Appium GUI 1.4.13
    iOs seetings: App path tried using SafariLauncher.app path and tried
    without app path enabling Use Mobile Safari
    Checked Force Device to use my ipad
    Checked UDID and added my ipad's udid
    Checked Show iOS system log
    Advanced settings: Checked use native instrument library
  3. Settings in Appium GUI Server address :used my mac ip address where
    Appium is installed tried using default 127.0.0.1:4723 as well
  4. Appium doctor passed all checks for iOS
  5. Hit Launch
  6. Run my test script from Windows VS system that is posted at gist
    Please let me know if you need any more details.

Thanks

—
Reply to this email directly or view it on GitHub
https://github.com/appium/appium/issues/6230#issuecomment-191859489.

Thanks a bunch, I am optimistic to get some solution :)

@imurchie Any insights on this? https://gist.github.com/pshilpa1/1c3e2ed43290d9ecb389.

As reset.sh is removed how is it in our current architecture. And in previous issues looged in our repo, i see this worked well from source and users faced same issues when they installed appium through npm.

https://github.com/appium/appium-dot-app/issues/513
https://github.com/appium/appium/issues/5727

Please look into this.

Do you have Xcode installed? And the command line tools? The error here is

[iOS] Error: Command 'xcodebuild -sdk iphoneos9.2 clean' errored out: Error: spawn xcodebuild ENOENT

This means that xcodebuild is not available. It ought to get installed with Xcode and the command line tools.

I have xocde installed and could successfully build the SafariLauncher.
Where should I install commandline tools and from where to get it that is compatible to xcode 7.2.1 couldn't find them on Apple Developer page ?

Thanks

@pshilpa1 Run this command in terminal: xcode-select --install

I tried that and got a message that command line tools are already installed.
I am unable to run the SafariLauncher from xcode , could that be an issue, it works when for the same project when I launch it on simulator.

Thanks

Does the location where Appium folder/dir should be installed matters as I mentioned Appium 1.5 is at different location and Appium GUI 1.4.13 is at different location. Appium 1.5 gives error as Bad app for SafariLauncher.app

Nope that doesn't matter.

what's the error you are getting when you are trying to build from xcode?

BUild gets succeeded but when I try to run it says Process launch failed; Unable to launch Safari on ipad

@pshilpa1 when you execute the command

instruments -s device

Do you get to see " iphoneos9.2 "

Yes, I see Iphone 9.2 and ipad all simulators what displayed in xcode.

I tried setting up Use external Appium package to use Appium 1.5 with Appium 1.4.13 GUI as

appiummac1

And when I try to launch appium server from gui I get following error:
/usr/local/lib/node_modules/appium/lib/server/main.js:4
import { init as logsinkInit } from './logsink';
^^^^^^
SyntaxError: Unexpected reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Hi @pshilpa1 , Did you able to figure out any solution for above mentioned issue?
/usr/local/lib/node_modules/appium/lib/server/main.js:4
import { init as logsinkInit } from './logsink';
^^^^^^
SyntaxError: Unexpected reserved word

I am also facing the same issue. could you please let me know what you have done to overcome this?
Thanks in advance

Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --debug-log-spacing --platform-version "8.1" --platform-name "iOS" --app "/Users/uzmasyed/Desktop/iAuditor_Beta.ipa" --udid "1cbbf550963ec20aec09b0bc2fec35796df68896" --full-reset --show-ios-log --device-name "iPhone 6" --instruments "/usr/bin/instruments"

info: Welcome to Appium v1.4.13 (REV c75d8adcb66a75818a542fe1891a34260c21f76a)

info: Appium REST http interface listener started on 0.0.0.0:4723

info: [debug] Non-default server args: {"app":"/Users/uzmasyed/Desktop/iAuditor_Beta.ipa","udid":"1cbbf550963ec20aec09b0bc2fec35796df68896","fullReset":true,"deviceName":"iPhone 6","platformName":"iOS","platformVersion":"8.1","instrumentsPath":"/usr/bin/instruments","showIOSLog":true,"defaultCommandTimeout":7200,"debugLogSpacing":true}
info: Console LogLevel: debug

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: <-- GET /wd/hub/status 200 8.275 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: <-- GET /wd/hub/status 200 2.527 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}
info: <-- GET /wd/hub/status 200 0.560 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 0.566 ms - 23 {"status":0,"value":[]}

info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.1","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/760.1.2 Darwin/15.0.0 (x86_64)
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: ***********
info: * NEW SESSION *
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
* NEW SESSION
info:
***********
info:
***********
info:
***********
info:
***********
info:
***********
info:
***********
info:
***********
info:
************
info: [debug] Using local .ipa from command line: /Users/uzmasyed/Desktop/iAuditor_Beta.ipa
info: [debug] Copying local zip to tmp dir

info: [debug] /Users/uzmasyed/Desktop/iAuditor_Beta.ipa copied to /var/folders/23/bp__72_n6yb0xly10fhyz3140000gn/T/116313-41472-14anqpc/appium-app.zip

info: [debug] Unzipping /var/folders/23/bp__72_n6yb0xly10fhyz3140000gn/T/116313-41472-14anqpc/appium-app.zip

info: [debug] Testing zip archive: /var/folders/23/bp__72_n6yb0xly10fhyz3140000gn/T/116313-41472-14anqpc/appium-app.zip

info: [debug] Zip archive tested clean

info: [debug] Unzip successful

info: [debug] Using locally extracted app: /var/folders/23/bp__72_n6yb0xly10fhyz3140000gn/T/116313-41472-14anqpc/Payload/iAuditor.app

info: [debug] Creating new appium session 422884c5-51a6-40c5-8b7e-31beda8e459e
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /var/folders/23/bp__72_n6yb0xly10fhyz3140000gn/T/116313-41472-14anqpc/Payload/iAuditor.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /var/folders/23/bp__72_n6yb0xly10fhyz3140000gn/T/116313-41472-14anqpc/Payload/iAuditor.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
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/uzmasyed/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

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

info: [debug] Dynamic bootstrap path: /Users/uzmasyed/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js
info: [debug] Reusing dynamic bootstrap: /Users/uzmasyed/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog

info: [debug] Creating iDevice object with udid 1cbbf550963ec20aec09b0bc2fec35796df68896

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

info: [debug] Installing ipa found at /Users/uzmasyed/Desktop/iAuditor_Beta.ipa

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:50 SafetyCultures-iPhone-6-Gold syslog_relay[202] : syslog_relay found the ASL prompt. Starting...

info: [debug] Nothing found on device, going ahead and installing.

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold sharingd[63] : 16:54:54.645 : Tethering: Identifier needs fixing

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold backboardd[60] : [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 255->6 (deferring until bootloaded)

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [MPUSystemMediaControls] Updating supported commands for now playing application.

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold wirelessproxd[59] : (Error) updateScanner - central is not powered on: 4

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold backboardd[60] : [HID] [MT] MTSimpleHIDManager::deviceDidBootload device bootloaded

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:54 SafetyCultures-iPhone-6-Gold backboardd[60] : [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 6->6

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:55 SafetyCultures-iPhone-6-Gold SpringBoard[58] : -UABestAppSuggestionManager notifyBestAppChanged:type:options:bundleIdentifier:activityType:dynamicIdentifier:when:confidence:deviceName:deviceIdentifier:deviceType: UASuggestedActionType=0 (null)/(null) opts=(null) when=2016-04-13 06:54:55 +0000 confidence=1 from=(null)/(null) (UABestAppSuggestionManager.m #319)

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:55 SafetyCultures-iPhone-6-Gold mobile_installation_proxy[189] : LaunchServices: installing app for existing placeholder com.safetyculture.iAuditor <(null) _Not found in database_>

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:55 SafetyCultures-iPhone-6-Gold mobile_installation_proxy[189] : LaunchServices: Not creating progress for com.safetyculture.iAuditor <(null) _Not found in database_> since it is not a placeholder.

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:55 SafetyCultures-iPhone-6-Gold installd[50] : 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/com.safetyculture.iAuditor" type Customer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 189)

info: [IOS_SYSLOG_ROW ] Apr 13 16:54:59 SafetyCultures-iPhone-6-Gold backboardd[60] : [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 6->3

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:00 SafetyCultures-iPhone-6-Gold searchd[165] : ====^^^^ DuetExpert missing data, count -> people:0 applicationDeepLinks:0 applications:8 requests:17 missingAllDataRequests:0

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:03 SafetyCultures-iPhone-6-Gold installd[50] : 0x16e12f000 -[MIInstaller performInstallationWithError:]: Installing

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:03 SafetyCultures-iPhone-6-Gold profiled[141] : (Note ) MC: Provisioning profiles changed

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:03 SafetyCultures-iPhone-6-Gold profiled[141] : (Note ) MC: Updating MIS trust...

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:03 SafetyCultures-iPhone-6-Gold securityd[92] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:03 SafetyCultures-iPhone-6-Gold securityd[92] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:03 SafetyCultures-iPhone-6-Gold installd[50] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold online-auth-agent[203] : SecTrustEvaluate [leaf AnchorTrusted]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold installd[50] : 0x16e12f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.safetyculture.iAuditor at /private/var/mobile/Containers/Data/Application/CA66B9B2-38BE-4D35-974E-032E7370C71F

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold installd[50] : 0x16e12f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.safetyculture.iAuditor at /private/var/mobile/Containers/Bundle/Application/2C463D1A-30B3-4785-B104-5C2AC65D9BB6

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold installd[50] : 0x16e12f000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 7.72s; Waiting: 0.00s; Preflight/Patch: 0.02s, Verifying: 1.27s; Overall: 9.15s

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold lsd[88] : LaunchServices: Updating identifier store

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold syncdefaultsd[316] : (Note ) SYDAlwaysOnAccount: no account (null)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold syncdefaultsd[316] : (Note ) SYDAccount: no account

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold syncdefaultsd[316] : (Note ) SYDPIMAccount: no account (null)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Installed apps did change.

info: [IOS_SYSLOG_ROW ] Added: {(
info: [IOS_SYSLOG_ROW ] "com.safetyculture.iAuditor"
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 ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to simultaneously satisfy constraints.
info: [IOS_SYSLOG_ROW ] Probably at least one of the constraints in the following list is one you don't want.
info: [IOS_SYSLOG_ROW ] Try this:
info: IOS_SYSLOG_ROW look at each constraint and try to figure out which you don't expect;
info: IOS_SYSLOG_ROW find the code that added the unwanted constraint or constraints and fix it.
info: IOS_SYSLOG_ROW ]>"
info: [IOS_SYSLOG_ROW ] )
info: [IOS_SYSLOG_ROW ] Will attempt to recover by breaking constraint
info: [IOS_SYSLOG_ROW ]
info: [IOS_SYSLOG_ROW ] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
info: [IOS_SYSLOG_ROW ] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:04 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to simultaneously satisfy constraints.
info: [IOS_SYSLOG_ROW ] Probably at least one of the constraints in the following list is one you don't want.
info: [IOS_SYSLOG_ROW ] Try this:
info: IOS_SYSLOG_ROW look at each constraint and try to figure out which you don't expect;
info: IOS_SYSLOG_ROW find the code that added the unwanted constraint or constraints and fix it.
info: IOS_SYSLOG_ROW )-[UIButton:0x14f85d540'Show More']>",
info: [IOS_SYSLOG_ROW ] "",
info: [IOS_SYSLOG_ROW ] " info: [IOS_SYSLOG_ROW ] )
info: [IOS_SYSLOG_ROW ] Will attempt to recover by breaking constraint
info: [IOS_SYSLOG_ROW ] info: [IOS_SYSLOG_ROW ] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
info: [IOS_SYSLOG_ROW ] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:07 SafetyCultures-iPhone-6-Gold timed[62] : (Note ) CoreTime: Want active time in 1478.49min. Need active time in 3823.87min. Remaining retry interval: 0.000000min.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:07 SafetyCultures-iPhone-6-Gold UserEventAgent[26] : validateAndAddDefaults(com.apple.timed): End Time (inf) > now (482223307.7) + BACKGROUND_TASK_AGENT_JOB_WINDOW_MAX_TIME_FROM_NOW_SEC (3024000.0) + BACKGROUND_TASK_AGENT_JOB_TIME_ERROR_MARGIN (300.0)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:07 SafetyCultures-iPhone-6-Gold timed[62] : (Error) CoreTime: Error requesting proactive time check job

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:07 SafetyCultures-iPhone-6-Gold networkd[94] : __42-[NETClientConnection evaluateNetworkPath]_block_invoke itunesstored.108 connection 50: trigger network agents () error Error Domain=NWPathEvaluatorErrorDomain Code=1 "(null)"

info: [debug] Starting command proxy.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:07 SafetyCultures-iPhone-6-Gold itunesstored[108] : tcp_connection_handle_connect_conditions_bad 50 failed: 4 - Network Agent [domain: Cellular, type: Internet, description: CommCenter: Internet, uuid: E56BD364-D31B-4D77-A7E3-433467698EAC, flags: 11] is unsatisfied

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:07 SafetyCultures-iPhone-6-Gold networkd[94] : -[NETClientConnection effectiveBundleID] using process name itunesstored as bundle ID (this is expected for daemons without bundle ID
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments

info: Launching instruments
info: [debug] Attempting to run app on real device with UDID 1cbbf550963ec20aec09b0bc2fec35796df68896
info: [debug] Spawning instruments with command: /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 1cbbf550963ec20aec09b0bc2fec35796df68896 com.safetyculture.iAuditor -e UIASCRIPT "/Users/uzmasyed/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.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 ] Apr 13 16:55:08 SafetyCultures-iPhone-6-Gold timed[62] : (Note ) CoreTime: Want active time in 1483.20min. Need active time in 3833.94min. Remaining retry interval: 0.000000min.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:08 SafetyCultures-iPhone-6-Gold UserEventAgent[26] : validateAndAddDefaults(com.apple.timed): End Time (inf) > now (482223308.7) + BACKGROUND_TASK_AGENT_JOB_WINDOW_MAX_TIME_FROM_NOW_SEC (3024000.0) + BACKGROUND_TASK_AGENT_JOB_TIME_ERROR_MARGIN (300.0)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:08 SafetyCultures-iPhone-6-Gold timed[62] : (Error) CoreTime: Error requesting proactive time check job

info: [debug] [INST STDERR] 2016-04-13 16:55:08.491 instruments[41485:5414993] WebKit Threading Violation - initial use of WebKit from a secondary thread.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold timed[62] : (Note ) CoreTime: Want active time in 1487.77min. Need active time in 3843.71min. Remaining retry interval: 0.000000min.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold UserEventAgent[26] : validateAndAddDefaults(com.apple.timed): End Time (inf) > now (482223309.8) + BACKGROUND_TASK_AGENT_JOB_WINDOW_MAX_TIME_FROM_NOW_SEC (3024000.0) + BACKGROUND_TASK_AGENT_JOB_TIME_ERROR_MARGIN (300.0)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:09 SafetyCultures-iPhone-6-Gold timed[62] : (Error) CoreTime: Error requesting proactive time check job

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold timed[62] : (Note ) CoreTime: Want active time in 1492.22min. Need active time in 3853.21min. Remaining retry interval: 0.000000min.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold UserEventAgent[26] : validateAndAddDefaults(com.apple.timed): End Time (inf) > now (482223311.0) + BACKGROUND_TASK_AGENT_JOB_WINDOW_MAX_TIME_FROM_NOW_SEC (3024000.0) + BACKGROUND_TASK_AGENT_JOB_TIME_ERROR_MARGIN (300.0)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:10 SafetyCultures-iPhone-6-Gold timed[62] : (Error) CoreTime: Error requesting proactive time check job

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:11 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:11 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:11 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:11 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:11 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:12 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [debug] [INST STDERR] 2016-04-13 16:55:13.218 instruments[41485:5414997] Attempting to change event horizon while disengage

info: [debug] [INST STDERR] 2016-04-13 16:55:13.218 instruments[41485:5414993] Attempting to change event horizon while disengage
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 3.) : Failed to launch process with bundle identifier 'com.safetyculture.iAuditor'

info: [debug] [INSTSERVER] Instruments exited with code 253
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 ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold DTServiceHub[205] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold notification_proxy[187] : 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:13 SafetyCultures-iPhone-6-Gold notification_proxy[187] : 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:17 SafetyCultures-iPhone-6-Gold calaccessd[157] : ERROR: couldn't find any operation group that responds to the selector CADDatabaseGetSharedCalendarInvitationsWithReply:

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:17 SafetyCultures-iPhone-6-Gold calaccessd[157] : ERROR: couldn't find any operation group that responds to the invocation CADDatabaseGetSharedCalendarInvitationsWithReply:
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:17 SafetyCultures-iPhone-6-Gold assistant_service[171] : Error getting shared calendar invitations for entity types 2 from daemon: Error Domain=EKCADErrorDomain Code=1014 "(null)"

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:17 SafetyCultures-iPhone-6-Gold assistant_service[171] : Error getting NanoAppRegistry workspace info: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nanoappregistry.workspace was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.nanoappregistry.workspace was invalidated.}

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:17 SafetyCultures-iPhone-6-Gold assistant_service[171] : Error getting NanoAppRegistry workspace info: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nanoappregistry.workspace was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.nanoappregistry.workspace was invalidated.}

info: Launching instruments

info: [debug] Attempting to run app on real device with UDID 1cbbf550963ec20aec09b0bc2fec35796df68896

info: [debug] Spawning instruments with command: /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 1cbbf550963ec20aec09b0bc2fec35796df68896 com.safetyculture.iAuditor -e UIASCRIPT "/Users/uzmasyed/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INST STDERR] 2016-04-13 16:55:19.100 instruments[41491:5415191] WebKit Threading Violation - initial use of WebKit from a secondary thread.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:19 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:19 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:19 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:19 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:20 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:21 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:21 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:21 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:21 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:21 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:22 SafetyCultures-iPhone-6-Gold networkd[94] : -[NETAWDManager reportStats:metricID:] server 0x15553f4e0, container 0x155530a20, metrid 2686980, successfully reported:

info: [IOS_SYSLOG_ROW ] {
info: [IOS_SYSLOG_ROW ] "client_id" = assistantd;
info: [IOS_SYSLOG_ROW ] "establishment_cellular_fallback" = 0;
info: [IOS_SYSLOG_ROW ] "establishment_failure_error" = 0;
info: [IOS_SYSLOG_ROW ] "establishment_forced_tcp_fallback" = 0;
info: [IOS_SYSLOG_ROW ] "establishment_interface_name" = en0;
info: [IOS_SYSLOG_ROW ] "establishment_success" = 1;
info: [IOS_SYSLOG_ROW ] "establishment_syn_retransmits" = 0;
info: [IOS_SYSLOG_ROW ] "establishment_tcp_fallback" = 0;
info: [IOS_SYSLOG_ROW ] "establishment_time" = "0.209801";
info: [IOS_SYSLOG_ROW ] "interface_reports" = (
info: [IOS_SYSLOG_ROW ] {
info: [IOS_SYSLOG_ROW ] "data_in_KB" = 5;
info: [IOS_SYSLOG_ROW ] "data_out_KB" = 2;
info: [IOS_SYSLOG_ROW ] "interface_name" = en0;
info: [IOS_SYSLOG_ROW ] "post_connect_subflow_failure_errors" = (
info: [IOS_SYSLOG_ROW ] );
info: [IOS_SYSLOG_ROW ] "post_connect_tcp_fallback_count" = 0;
info: [IOS_SYSLOG_ROW ] "secondary_flow_failure_count" = 0;
info: [IOS_SYSLOG_ROW ] "secondary_flow_success_count" = 0;
info: [IOS_SYSLOG_ROW ] }
info: [IOS_SYSLOG_ROW ] );

info: [IOS_SYSLOG_ROW ] "post_connect_multi_homed" = 0;
info: [IOS_SYSLOG_ROW ] "post_connect_session_lifetime" = "6.948276041";
info: [IOS_SYSLOG_ROW ] "post_connect_single_homed" = 1;
info: [IOS_SYSLOG_ROW ] "post_connect_subflow_attempt_count" = 1;
info: [IOS_SYSLOG_ROW ] "post_connect_subflow_max_subflow_count" = 1;
info: [IOS_SYSLOG_ROW ] "subflow_switching_count" = 0;
info: [IOS_SYSLOG_ROW ] }

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:23 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [debug] [INST STDERR] 2016-04-13 16:55:23.777 instruments[41491:5415128] Attempting to change event horizon while disengage

info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 3.) : Failed to launch process with bundle identifier 'com.safetyculture.iAuditor'
info: [debug] [INST STDERR] 2016-04-13 16:55:23.778 instruments[41491:5415186] Attempting to change event horizon while disengage

info: [debug] [INSTSERVER] Instruments exited with code 253
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
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:24 SafetyCultures-iPhone-6-Gold DTServiceHub[205] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:24 SafetyCultures-iPhone-6-Gold notification_proxy[187] : 0x16e1bb000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:24 SafetyCultures-iPhone-6-Gold notification_proxy[187] : 0x16e1bb000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

info: Launching instruments

info: [debug] Attempting to run app on real device with UDID 1cbbf550963ec20aec09b0bc2fec35796df68896
info: [debug] Spawning instruments with command: /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 1cbbf550963ec20aec09b0bc2fec35796df68896 com.safetyculture.iAuditor -e UIASCRIPT "/Users/uzmasyed/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INST STDERR] 2016-04-13 16:55:29.599 instruments[41497:5415349] WebKit Threading Violation - initial use of WebKit from a secondary thread.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:30 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:31 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:32 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:32 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:32 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:32 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:33 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [debug] [INST STDERR] 2016-04-13 16:55:34.278 instruments[41497:5415293] Attempting to change event horizon while disengage

info: [debug] [INST STDERR] 2016-04-13 16:55:34.278 instruments[41497:5415349] Attempting to change event horizon while disengage
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 3.) : Failed to launch process with bundle identifier 'com.safetyculture.iAuditor'

info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #3
info: [debug] Killall iOS Simulator
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold DTServiceHub[205] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold notification_proxy[187] : 0x16e087000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:34 SafetyCultures-iPhone-6-Gold notification_proxy[187] : 0x16e087000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

info: Launching instruments

info: [debug] Attempting to run app on real device with UDID 1cbbf550963ec20aec09b0bc2fec35796df68896
info: [debug] Spawning instruments with command: /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 1cbbf550963ec20aec09b0bc2fec35796df68896 com.safetyculture.iAuditor -e UIASCRIPT "/Users/uzmasyed/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"422884c5-51a6-40c5-8b7e-31beda8e459e"}

info: <-- GET /wd/hub/status 200 2.294 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"422884c5-51a6-40c5-8b7e-31beda8e459e"}

info: [debug] [INST STDERR] 2016-04-13 16:55:40.125 instruments[41503:5415573] WebKit Threading Violation - initial use of WebKit from a secondary thread.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:40 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:40 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:40 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:40 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:41 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:42 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:42 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:42 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:42 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:42 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:43 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)
info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : Unable to launch com.safetyculture.iAuditor because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [IOS_SYSLOG_ROW ] Apr 13 16:55:44 SafetyCultures-iPhone-6-Gold SpringBoard[58] : [FBSystemService] Error launching com.safetyculture.iAuditor: Security (3)

info: [debug] [INST STDERR] 2016-04-13 16:55:44.823 instruments[41503:5415511] Attempting to change event horizon while disengage

info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 3.) : Failed to launch process with bundle identifier 'com.safetyculture.iAuditor'
info: [debug] [INST STDERR] 2016-04-13 16:55:44.824 instruments[41503:5415573] Attempting to change event horizon while disengage

info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Killall iOS Simulator
info: [debug] fullReset requested. Will try to uninstall the app.

info: [debug] Removed com.safetyculture.iAuditor

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Instruments crashed on startup

info: [debug] Error: Instruments crashed on startup
at [object Object].Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:440:31)
at [object Object]. (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:353:12)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
info: <-- POST /wd/hub/session 500 58371.980 ms - 182


Can some one please help me with this error? Why am I getting this?
screen shot 2016-04-13 at 4 57 43 pm
screen shot 2016-04-13 at 4 58 10 pm

@uzmasyed00 can you please try with appium v 1.5

Can you please check if your .ipa opens with UIAutomator

Where can I find appium v1.5? I can't find it here
https://bitbucket.org/appium/appium.app/downloads/

Not through the GUI of appium. You can install through npm install -g appium.

I tried doing that and it installed 1.5, but when i launch appium.app, it still shows v1.4

@uzmasyed00 you dont need to launch appium.app, just run appium in your terminal, appium server would start and then can you run yours test n check

I am also getting this issue. Sometimes Appium1.4.13 is not able to launch instrument properly. Mention below the logs

2016-09-08 12:38:00 46 IOSDriverAPI [INFO] deviceName IOS
2016-09-08 12:38:00 46 IOSDriverAPI [INFO] device iOS
2016-09-08 12:38:00 46 IOSDriverAPI [INFO] device version 9.1.3
2016-09-08 12:38:00 46 IOSDriverAPI [INFO] Package name is com.dishnetwork.DANY-Mobile
info: --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":480000,"platformVersion":"9.1.3","bundleId":"com.dishnetwork.DANY-Mobile","udid":"bbf20e0c5fc880d54d1e3a9491284d2150e059a0","platformName":"iOS","deviceName":"IOS","autoAcceptAlerts":true}}
info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)
info: Launching instruments
info: Launching instruments
info: Launching instruments
info: Launching instruments
info: Launching instruments
info: Launching instruments
info: Launching instruments
error: Failed to start an Appium session, err was: Error: Instruments crashed on startup
info: <-- POST /wd/hub/session 500 291856.068 ms - 182
2016-09-08 12:42:55 118 IOSDriverAPI [ERROR] Exception occured while loading capabilities
2016-09-08 12:42:55 118 IOSDriverAPI [ERROR] A new session could not be created. (Original error: Instruments crashed on startup) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 292.45 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'admins-Mac-mini-2.local', ip: '10.102.8.69', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_40'
Driver info: io.appium.java_client.ios.IOSDriver
2016-09-08 12:42:55 118 IOSDriverAPI [ERROR] org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Instruments crashed on startup) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 292.45 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'admins-Mac-mini-2.local', ip: '10.102.8.69', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_40'
Driver info: io.appium.java_client.ios.IOSDriver
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:422)
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:37)
io.appium.java_client.AppiumDriver.(AppiumDriver.java:162)
io.appium.java_client.AppiumDriver.(AppiumDriver.java:171)
io.appium.java_client.ios.IOSDriver.(IOSDriver.java:56)
com.slingmedia.safe.appiumwrappers.IOSDriverAPI.initializeIOSDriver(IOSDriverAPI.java:298)
com.slingmedia.safe.appiumwrappers.IOSDriverAPI.(IOSDriverAPI.java:87)
com.slingmedia.safe.appiumwrappers.IOSDriverAPI.getIOSDriverAPI(IOSDriverAPI.java:64)
com.slingmedia.safe.testnglistener.SuiteListener.onStart(SuiteListener.java:82)
org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:208)
org.testng.SuiteRunner.run(SuiteRunner.java:266)
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
org.testng.TestNG.run(TestNG.java:1064)
com.slingmedia.safe.suiterunner.SuiteRunner.main(SuiteRunner.java:94)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)

@Jitu1888 please update to v1.5.3 and create a new issue with updated logs.

@SrinivasanTarget pls close

@triager please close

I will try 1.5.3 but name identifier is removed from latest appium. For this i need to change everything to ID .

i am also facing Appium server start issue

Below is the error

C:\Users\lbelaladavarAppData\Roaming\npm\node_modules\appium\lib\main.js:4
import { init as logsinkInit } from './logsink';
^^^^^^
SyntaxError: Unexpected token import
at Object.exports.runInThisContext (vm.js:78:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:535:3
Exception in thread "main" io.appium.java_client.service.local.AppiumServerHasNotBeenStartedLocallyException: The local appium server has not been started. The given Node.js executable: C:\Program Files\nodejs\node.exe Arguments: [C:\Users\lbelaladavarAppData\Roaming\npm\node_modules\appium\lib\main.js, --port, 4723, --address, 127.0.0.1]
Process output: C:\Users\lbelaladavarAppData\Roaming\npm\node_modules\appium\lib\main.js:4
import { init as logsinkInit } from './logsink';
^^^^^^

Can any one help on the same?
I am using Appium 1.6.4 for windows
and my code to start the server is

AppiumDriverLocalService appiumService;

     appiumService = AppiumDriverLocalService.buildService(new AppiumServiceBuilder().withIPAddress("127.0.0.1"));
        appiumService.start();

C:\Users\lbelaladavar\AppData\Roaming\npm\node_modules\appium\lib\main.js is the wrong target to run. The JavaScript is built into build.

C:\Users\lbelaladavar\AppData\Roaming\npm\node_modules\appium\build\lib\main.js

Thanks for your reply Isaac, now i have changed the path, but i am getting below issue now

[Appium] Welcome to Appium v1.6.4
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.4","revision":null}}
Appium Service Address : - http://127.0.0.1:4723/wd/hub
Device identified
Activity and package added
[HTTP] <-- GET /wd/hub/status 200 14 ms - 83
Apr 26, 2017 12:39:37 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},"requiredCapabilities":{}},"desiredCapabilities":{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},{},{"desiredCapabilities":{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},"requiredCapabilities":{}},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1493190577573 (12:39:37 GMT+0530 (India Standard Time))
[Appium] Creating new AndroidDriver (v1.17.1) session
[Appium] Capabilities:
[Appium] app: 'E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk'
[Appium] appPackage: 'com.mytwc.common.resource'
[Appium] appActivity: 'com.mportal.twcframework.ui.SplashActivity'
[Appium] VERSION: '7.0'
[Appium] platformName: 'Android'
[Appium] deviceName: 'ZX1G2232MK'
[debug] [AndroidDriver] AndroidDriver version: 1.17.1
[BaseDriver] The following capabilities were provided, but are not recognized by appium: VERSION.
[BaseDriver] Session created with session id: 0ab65116-f187-4d4a-821f-6c1f9ae41b52
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_121

[ADB] Checking whether adb is present
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Called deleteSession but bootstrap wasn't active
[MJSONWP] Encountered internal error running command: Error: ENOENT: no such file or directory, scandir 'D:AndroidSDK;D:AndroidSDK\platform-tools;D:AndroidSDKbuild-tools;D:AndroidSDK\toolsbuild-tools'
[HTTP] <-- POST /wd/hub/session 500 145 ms - 290
Apr 26, 2017 12:39:37 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Falling back to original OSS JSON Wire Protocol.
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},{},null,null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1493190577734 (12:39:37 GMT+0530 (India Standard Time))
[Appium] Creating new AndroidDriver (v1.17.1) session
[Appium] Capabilities:
[Appium] app: 'E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk'
[Appium] appPackage: 'com.mytwc.common.resource'
[Appium] appActivity: 'com.mportal.twcframework.ui.SplashActivity'
[Appium] VERSION: '7.0'
[Appium] platformName: 'Android'
[Appium] deviceName: 'ZX1G2232MK'
[debug] [AndroidDriver] AndroidDriver version: 1.17.1
[BaseDriver] The following capabilities were provided, but are not recognized by appium: VERSION.
[BaseDriver] Session created with session id: 3b3db6b2-a7b3-4967-94f5-24aac3f25e7a
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_121

[ADB] Checking whether adb is present
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Called deleteSession but bootstrap wasn't active
[MJSONWP] Encountered internal error running command: Error: ENOENT: no such file or directory, scandir 'D:AndroidSDK;D:AndroidSDK\platform-tools;D:AndroidSDKbuild-tools;D:AndroidSDK\toolsbuild-tools'
[HTTP] <-- POST /wd/hub/session 500 113 ms - 290
Apr 26, 2017 12:39:37 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Falling back to straight W3C remote end connection
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"E:\MYTWC\Android Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk","appPackage":"com.mytwc.common.resource","appActivity":"com.mportal.twcframework.ui.SplashActivity","VERSION":"7.0","platformName":"Android","deviceName":"ZX1G2232MK"},"requiredCapabilities":{}}}
[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"required":["desiredCapabilities"],"optional":["requiredCapabilities","capabilities","sessionId","id"]} and you sent ["capabilities"]
[HTTP] <-- POST /wd/hub/session 400 5 ms - 171
FAILED CONFIGURATION: @BeforeTest beforeMethod
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=E:\MYTWCAndroid Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk, appPackage=com.mytwc.common.resource, appActivity=com.mportal.twcframework.ui.SplashActivity, VERSION=7.0, platformName=Android, deviceName=ZX1G2232MK}], required capabilities = Capabilities [{}]
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: 'LBELADAVA-E7450', ip: '10.238.64.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: AndroidDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:141)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92)
at com.appium.sample.TWC_Billing2.beforeMethod(TWC_Billing2.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:523)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:224)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:146)
at org.testng.TestRunner.beforeRun(TestRunner.java:626)
at org.testng.TestRunner.run(TestRunner.java:594)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)

SKIPPED CONFIGURATION: @AfterTest afterMethod
SKIPPED: allowAppPermission
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=E:\MYTWCAndroid Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk, appPackage=com.mytwc.common.resource, appActivity=com.mportal.twcframework.ui.SplashActivity, VERSION=7.0, platformName=Android, deviceName=ZX1G2232MK}], required capabilities = Capabilities [{}]
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: 'LBELADAVA-E7450', ip: '10.238.64.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: AndroidDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:141)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92)
at com.appium.sample.TWC_Billing2.beforeMethod(TWC_Billing2.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:523)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:224)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:146)
at org.testng.TestRunner.beforeRun(TestRunner.java:626)
at org.testng.TestRunner.run(TestRunner.java:594)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)

SKIPPED: test1
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=E:\MYTWCAndroid Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk, appPackage=com.mytwc.common.resource, appActivity=com.mportal.twcframework.ui.SplashActivity, VERSION=7.0, platformName=Android, deviceName=ZX1G2232MK}], required capabilities = Capabilities [{}]
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: 'LBELADAVA-E7450', ip: '10.238.64.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: AndroidDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:141)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92)
at com.appium.sample.TWC_Billing2.beforeMethod(TWC_Billing2.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:523)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:224)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:146)
at org.testng.TestRunner.beforeRun(TestRunner.java:626)
at org.testng.TestRunner.run(TestRunner.java:594)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)

SKIPPED: test2
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=E:\MYTWCAndroid Builds\PROD\MyTWC_6.4.9_ProdLogEnabled.apk, appPackage=com.mytwc.common.resource, appActivity=com.mportal.twcframework.ui.SplashActivity, VERSION=7.0, platformName=Android, deviceName=ZX1G2232MK}], required capabilities = Capabilities [{}]
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: 'L

Can you please help on the same?

lohitsb: This issue will come if your capabilities are missing or you didn't download the latest SDK from SDK Manager. Can you please share the capabilities which you are using for Android driver and please check the OS of the device with SDK Manager.

I got it resolved by changing the Android SDK path in environmental variables...... It is working fine now. thanks once again Isaac

@imurchie - Thank you so much for posting this
C:\Users\lbelaladavarAppData\Roaming\npm\node_modules\appiumbuild\lib\main.js

C:\Users\lbelaladavarAppData\Roaming\npm\node_modules\appium\lib\main.js is the wrong target to run. The JavaScript is built into build.

C:\Users\lbelaladavarAppData\Roaming\npm\node_modules\appiumbuild\lib\main.js

Anyone knows why for some users appium gets installed under users directoryinstead of /usr/local/bin/appium ?

@imurchie per your comment https://github.com/appium/appium/issues/6230#issuecomment-297009673, can you please clarify

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings