{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/2124","labels_url":"https://api.github.com/repos/appium/appium/issues/2124/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/2124/comments","events_url":"https://api.github.com/repos/appium/appium/issues/2124/events","html_url":"https://github.com/appium/appium/issues/2124","id":29942389,"number":2124,"title":"error: Failed to start an Appium session, err was: Error: Instruments crashed on startup","user":{"login":"praveshkumar09","id":5637604,"avatar_url":"https://avatars.githubusercontent.com/u/5637604?v=3","gravatar_id":"","url":"https://api.github.com/users/praveshkumar09","html_url":"https://github.com/praveshkumar09","followers_url":"https://api.github.com/users/praveshkumar09/followers","following_url":"https://api.github.com/users/praveshkumar09/following{/other_user}","gists_url":"https://api.github.com/users/praveshkumar09/gists{/gist_id}","starred_url":"https://api.github.com/users/praveshkumar09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveshkumar09/subscriptions","organizations_url":"https://api.github.com/users/praveshkumar09/orgs","repos_url":"https://api.github.com/users/praveshkumar09/repos","events_url":"https://api.github.com/users/praveshkumar09/events{/privacy}","received_events_url":"https://api.github.com/users/praveshkumar09/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/appium/appium/labels/iOS","name":"iOS","color":"444444"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2014-03-21T21:53:47Z","updated_at":"2015-07-06T12:13:02Z","closed_at":"2014-04-07T16:06:14Z","body":"I am facing an issue in launching app in actual device.\r\n\r\nSame test case is working fine without any issue on another machine and on the same device(iOS7 iPad).\r\nAppium : v0.17.3 (REV 1b9261ddebef9dd1266b674fa86699aabfcf8d2d)\r\nxcode : 5.0.2\r\n\r\nIs there any configuration I am missing out.\r\n\r\nPlease find below logs from Console:\r\n\r\nnode /usr/local/lib/node_modules/appium/lib/server/main.js -U 76f579c88c1b5121e2a98171e73511b1914787ed --app /Users/ets_qa/Desktop/ACM/ACMI/ACMILattAppActualDevice/ACMInternalTest1.app\r\ninfo: Welcome to Appium v0.17.3 (REV 1b9261ddebef9dd1266b674fa86699aabfcf8d2d)\r\ninfo: Appium REST http interface listener started on 0.0.0.0:4723\r\n   info  - socket.io started\r\ninfo: Non-default server args: {\"app\":\"/Users/ets_qa/Desktop/ACM/ACMI/ACMILattAppActualDevice/ACMInternalTest1.app\",\"udid\":\"76f579c88c1b5121e2a98171e73511b1914787ed\",\"merciful\":true}\r\ndebug: Appium request initiated at /wd/hub/session\r\ndebug: Request received with params: {\"desiredCapabilities\":{\"platform\":\"Mac\",\"app\":\"/Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app\",\"browserName\":\"iOS\",\"device\":\"iPad\",\"version\":\"7.0\"}}\r\nwarn: [DEPRECATED] The device capability has been deprecated and will be removed.  Please use the platformName capability instead.\r\nwarn: [DEPRECATED] The version capability has been deprecated and will be removed.  Please use the platformVersion capability instead.\r\ninfo: Using local app from desired caps: /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app\r\ninfo: Creating new appium session ff8728b6-1038-4303-9e50-58f1ba9b0418\r\ninfo: Removing any remaining instruments sockets\r\ninfo: Cleaned up instruments socket /tmp/instruments_sock\r\ninfo: Cleaning up any tracedirs\r\ninfo: No tracedirs to clean up\r\ninfo: Setting Xcode folder\r\ninfo: Setting Xcode version\r\ninfo: Setting iOS SDK Version\r\ninfo: iOS SDK Version set to 7.0\r\ninfo: Detecting automation tracetemplate\r\ninfo: Not auto-detecting udid, running on sim\r\nwarn: Could not parse plist file at /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app/en.lproj/Localizable.strings\r\ninfo: Not setting locale because we're using a real device\r\ninfo: Not setting iOS and app preferences since we're on a real device\r\ninfo: Starting iOS device log capture via idevicesyslog\r\ninfo: Not setting device type since we're connected to a device\r\ninfo: Creating iDevice object with udid 76f579c88c1b5121e2a98171e73511b1914787ed\r\ninfo: Couldn't find ideviceinstaller, trying built-in at /usr/local/lib/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller\r\ninfo: Installing app using cmd: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap install --id 76f579c88c1b5121e2a98171e73511b1914787ed --bundle /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app\r\ndebug: Creating instruments\r\ninfo: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments\r\ninfo: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock\r\ninfo: Attempting to run app on real device with UDID 76f579c88c1b5121e2a98171e73511b1914787ed\r\ninfo: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 76f579c88c1b5121e2a98171e73511b1914787ed /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app -e UIASCRIPT /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments\r\ninfo: And extra without-delay env: {}\r\ninfo: And launch timeout: 90000ms\r\ninfo: [INST STDERR] Instruments Usage Error : Could not remove existing output document 'file:///usr/local/lib/node_modules/appium/instrumentscli0.trace': Error Domain=NSCocoaErrorDomain Code=513 \"You don’t have permission to save the file “instrumentscli0.trace” in the folder “appium”.\" UserInfo=0x7ffa031288b0 {NSFilePath=/usr/local/lib/node_modules/appium/instrumentscli0.trace, NSUnderlyingError=0x7ffa03123c40 \"The operation couldn’t be completed. Permission denied\"}.\r\n\r\ninfo: [INSTSERVER] Instruments exited with code 254\r\ninfo: Attempting to retry launching instruments, this is retry #1\r\ninfo: Attempting to run app on real device with UDID 76f579c88c1b5121e2a98171e73511b1914787ed\r\ninfo: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 76f579c88c1b5121e2a98171e73511b1914787ed /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app -e UIASCRIPT /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments\r\ninfo: And extra without-delay env: {}\r\ninfo: And launch timeout: 90000ms\r\ninfo: [INST STDERR] Instruments Usage Error : Could not remove existing output document 'file:///usr/local/lib/node_modules/appium/instrumentscli0.trace': Error Domain=NSCocoaErrorDomain Code=513 \"You don’t have permission to save the file “instrumentscli0.trace” in the folder “appium”.\" UserInfo=0x7fad98ef3b60 {NSFilePath=/usr/local/lib/node_modules/appium/instrumentscli0.trace, NSUnderlyingError=0x7fad98e23410 \"The operation couldn’t be completed. Permission denied\"}.\r\n\r\ninfo: [INSTSERVER] Instruments exited with code 254\r\ninfo: Attempting to retry launching instruments, this is retry #2\r\ninfo: Attempting to run app on real device with UDID 76f579c88c1b5121e2a98171e73511b1914787ed\r\ninfo: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 76f579c88c1b5121e2a98171e73511b1914787ed /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app -e UIASCRIPT /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments\r\ninfo: And extra without-delay env: {}\r\ninfo: And launch timeout: 90000ms\r\ninfo: [INST STDERR] Instruments Usage Error : Could not remove existing output document 'file:///usr/local/lib/node_modules/appium/instrumentscli0.trace': Error Domain=NSCocoaErrorDomain Code=513 \"You don’t have permission to save the file “instrumentscli0.trace” in the folder “appium”.\" UserInfo=0x7fc6cd2e8780 {NSFilePath=/usr/local/lib/node_modules/appium/instrumentscli0.trace, NSUnderlyingError=0x7fc6cd2e8370 \"The operation couldn’t be completed. Permission denied\"}.\r\n\r\ninfo: [INSTSERVER] Instruments exited with code 254\r\ninfo: Attempting to retry launching instruments, this is retry #3\r\ninfo: Attempting to run app on real device with UDID 76f579c88c1b5121e2a98171e73511b1914787ed\r\ninfo: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 76f579c88c1b5121e2a98171e73511b1914787ed /Users/ets_qa/Desktop/ACM/ACMI/ACMILatestAppActualDevice/ACMInternalTest1.app -e UIASCRIPT /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments\r\ninfo: And extra without-delay env: {}\r\ninfo: And launch timeout: 90000ms\r\ninfo: [INST STDERR] Instruments Usage Error : Could not remove existing output document 'file:///usr/local/lib/node_modules/appium/instrumentscli0.trace': Error Domain=NSCocoaErrorDomain Code=513 \"You don’t have permission to save the file “instrumentscli0.trace” in the folder “appium”.\" UserInfo=0x7ffe24494990 {NSFilePath=/usr/local/lib/node_modules/appium/instrumentscli0.trace, NSUnderlyingError=0x7ffe24490560 \"The operation couldn’t be completed. Permission denied\"}.\r\n\r\ninfo: [INSTSERVER] Instruments exited with code 254\r\nerror: Instruments crashed on startup\r\ninfo: Killall instruments\r\ninfo: Stopping iOS log capture\r\ninfo: Killing the simulator process\r\ninfo: Instruments launched. Starting poll loop for new commands.\r\ninfo: Pushing command to appium work queue: \"au.bundleId()\"\r\ndebug: Sending command to instruments: au.bundleId()\r\ninfo: Killing any other simulator daemons\r\ninfo: Cleaning app state.\r\ninfo: No folders found to remove\r\ninfo: Cleaning up appium session\r\nerror: Failed to start an Appium session, err was: Error: Instruments crashed on startup\r\ninfo: Error: Instruments crashed on startup\r\n    at Instruments.onInstrumentsExit (/usr/local/lib/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:351:31)\r\n    at null.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:294:12)\r\n    at ChildProcess.EventEmitter.emit (events.js:98:17)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:797:12)\r\ninfo: 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}\r\nPOST /wd/hub/session 500 20394ms - 210b"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/118835611","html_url":"https://github.com/appium/appium/issues/2124#issuecomment-118835611","issue_url":"https://api.github.com/repos/appium/appium/issues/2124","id":118835611,"user":{"login":"archanahm","id":13199505,"avatar_url":"https://avatars.githubusercontent.com/u/13199505?v=3","gravatar_id":"","url":"https://api.github.com/users/archanahm","html_url":"https://github.com/archanahm","followers_url":"https://api.github.com/users/archanahm/followers","following_url":"https://api.github.com/users/archanahm/following{/other_user}","gists_url":"https://api.github.com/users/archanahm/gists{/gist_id}","starred_url":"https://api.github.com/users/archanahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archanahm/subscriptions","organizations_url":"https://api.github.com/users/archanahm/orgs","repos_url":"https://api.github.com/users/archanahm/repos","events_url":"https://api.github.com/users/archanahm/events{/privacy}","received_events_url":"https://api.github.com/users/archanahm/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T12:13:02Z","updated_at":"2015-07-06T12:13:02Z","body":"Hi everyone ,\r\n\r\nEven i am facing the same problem.I tried above solution of clear console but not solving my problem.\r\nBelow are the logs please have look and help me out .\r\n\r\n[TestNG] Running:\r\n  /private/var/folders/t6/zht1ww011wx6ym__5wvy0v840000gn/T/testng-eclipse--424523039/testng-customsuite.xml\r\n\r\nEnter AppiumTest.setUp()\r\nEnter AppiumTest.startAppiumServer()\r\nExit AppiumTest.startAppiumServer()\r\n\u001B[36minfo\u001B[39m: Welcome to Appium v1.3.3 (REV 34e21b01b87d4e3959e1c97c0a8d0b1a610bdc78)\r\n\u001B[36minfo\u001B[39m: Appium REST http interface listener started on 127.0.0.1:4723\r\n\u001B[36minfo\u001B[39m: [debug] Non-default server args: {\"address\":\"127.0.0.1\",\"noReset\":true}\r\n\u001B[36minfo\u001B[39m: Console LogLevel: debug\r\nAppium driver port address --> http://127.0.0.1:4723/wd/hub\r\n\u001B[36minfo\u001B[39m: \u001B[37m-->\u001B[39m \u001B[37mPOST\u001B[39m \u001B[37m/wd/hub/session\u001B[39m \u001B[90m{\"desiredCapabilities\":{\"app\":\"cisco.MasterFlix\",\"platformName\":\"ios\",\"deviceName\":\"iOS\",\"udid\":\"5336ce7bb0d4355e7f093f7cdfa4f8226840acd3\"}}\u001B[39m\r\n\u001B[36minfo\u001B[39m: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)\r\n\u001B[36minfo\u001B[39m: [debug] App is an iOS bundle, will attempt to run as pre-existing\r\n\u001B[36minfo\u001B[39m: [debug] Creating new appium session a8e22eb6-3b6f-4ee6-8fc8-685011ede823\r\n\u001B[36minfo\u001B[39m: [debug] Removing any remaining instruments sockets\r\n\u001B[36minfo\u001B[39m: [debug] Cleaned up instruments socket /tmp/instruments_sock\r\n\u001B[36minfo\u001B[39m: [debug] Setting Xcode folder\r\n\u001B[36minfo\u001B[39m: [debug] Setting Xcode version\r\n\u001B[36minfo\u001B[39m: [debug] Setting iOS SDK Version\r\n\u001B[36minfo\u001B[39m: [debug] Getting sdk version from xcrun with a timeout\r\n\u001B[36minfo\u001B[39m: [debug] iOS SDK Version set to 7.1\r\n\u001B[36minfo\u001B[39m: [debug] Not checking whether simulator is available since we're on a real device\r\n\u001B[36minfo\u001B[39m: [debug] Detecting automation tracetemplate\r\n\u001B[36minfo\u001B[39m: [debug] Not auto-detecting udid, running on sim\r\n\u001B[36minfo\u001B[39m: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/cisco.MasterFlix/en.lproj/Localizable.strings\r\n\u001B[36minfo\u001B[39m: Will try to parse the plist file as XML\r\n\u001B[36minfo\u001B[39m: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/cisco.MasterFlix/en.lproj/Localizable.strings\r\n\u001B[33mwarn\u001B[39m: Could not parse app Localizable.strings; assuming it doesn't exist\r\n\u001B[36minfo\u001B[39m: [debug] Creating instruments\r\n`parseFileSync()` is deprecated. Use `parseStringSync()` instead.\r\n\u001B[36minfo\u001B[39m: [debug] Preparing uiauto bootstrap\r\n\u001B[36minfo\u001B[39m: [debug] Dynamic bootstrap dir: /Users/rajgopal/Library/Application Support/appium/bootstrap\r\n\u001B[36minfo\u001B[39m: [debug] Dynamic env: {\"nodePath\":\"/Applications/Appium.app/Contents/Resources/node/bin/node\",\"commandProxyClientPath\":\"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js\",\"instrumentsSock\":\"/tmp/instruments_sock\",\"interKeyDelay\":null,\"justLoopInfinitely\":false,\"autoAcceptAlerts\":false,\"sendKeyStrategy\":\"grouped\"}\r\n\u001B[36minfo\u001B[39m: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!\r\n...\r\n\u001B[36minfo\u001B[39m: [debug] Dynamic bootstrap path: /Users/rajgopal/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js\r\n\u001B[36minfo\u001B[39m: [debug] Reusing dynamic bootstrap: /Users/rajgopal/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js\r\n\u001B[36minfo\u001B[39m: [debug] Getting device string from opts: {\"forceIphone\":false,\"forceIpad\":false,\"xcodeVersion\":\"5.1\",\"iOSSDKVersion\":\"7.1\",\"deviceName\":\"iOS\",\"platformVersion\":null}\r\n\u001B[36minfo\u001B[39m: [debug] fixDevice is on\r\n\u001B[36minfo\u001B[39m: [debug] Fixing device. Changed from: \"iPhone - Simulator - iOS 7.1\" to: \"iPhone Retina (4-inch 64-bit) - Simulator - iOS 7.1\"\r\n\u001B[36minfo\u001B[39m: [debug] Final device string is: 'iPhone Retina (4-inch 64-bit) - Simulator - iOS 7.1'\r\n\u001B[36minfo\u001B[39m: [debug] Not setting device type since we're on a real device\r\n\u001B[36minfo\u001B[39m: [debug] Checking whether we need to set app preferences\r\n\u001B[36minfo\u001B[39m: [debug] Not setting iOS and app preferences since we're on a real device\r\n\u001B[36minfo\u001B[39m: [debug] Reset not set, not ending sim or cleaning up app state\r\n\u001B[36minfo\u001B[39m: [debug] Not setting locale because we're using a real device\r\n\u001B[36minfo\u001B[39m: [debug] No iOS / app preferences to set\r\n\u001B[36minfo\u001B[39m: [debug] Starting iOS device log capture via deviceconsole\r\n\u001B[36minfo\u001B[39m: [debug] Not pre-launching simulator\r\n\u001B[36minfo\u001B[39m: [debug] Creating iDevice object with udid 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3\r\n\u001B[36minfo\u001B[39m: [debug] Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller\r\n\u001B[36minfo\u001B[39m: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3 --bundle cisco.MasterFlix\r\n\u001B[36minfo\u001B[39m: [debug] App is installed.\r\n\u001B[36minfo\u001B[39m: [debug] fullReset not requested. No need to install.\r\n\u001B[36minfo\u001B[39m: [debug] Starting command proxy.\r\n\u001B[36minfo\u001B[39m: [debug] Instruments socket server started at /tmp/instruments_sock\r\n\u001B[36minfo\u001B[39m: [debug] Starting instruments\r\n\u001B[36minfo\u001B[39m: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments\r\n\u001B[36minfo\u001B[39m: Launching instruments\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to run app on real device with UDID 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3\r\n\u001B[36minfo\u001B[39m: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3 cisco.MasterFlix -e UIASCRIPT \"/Users/rajgopal/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js\" -e UIARESULTSPATH /tmp/appium-instruments\r\n\u001B[36minfo\u001B[39m: [debug] And extra without-delay env: {}\r\n\u001B[36minfo\u001B[39m: [debug] And launch timeouts (in ms): {\"global\":90000}\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[33m[INST STDERR] 2015-07-06 17:40:06.517 instruments[1999:61341] Error fetching kdebug events\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[90m[INSTSERVER] Instruments exited with code 253\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] Killall instruments\r\n\u001B[36minfo\u001B[39m: [debug] Instruments crashed on startup\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to retry launching instruments, this is retry #1\r\n\u001B[36minfo\u001B[39m: [debug] Killall iPhoneSimulator\r\n\u001B[36minfo\u001B[39m: Launching instruments\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to run app on real device with UDID 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3\r\n\u001B[36minfo\u001B[39m: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3 cisco.MasterFlix -e UIASCRIPT \"/Users/rajgopal/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js\" -e UIARESULTSPATH /tmp/appium-instruments\r\n\u001B[36minfo\u001B[39m: [debug] And extra without-delay env: {}\r\n\u001B[36minfo\u001B[39m: [debug] And launch timeouts (in ms): {\"global\":90000}\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[33m[INST STDERR] 2015-07-06 17:40:13.701 instruments[2002:61446] Error fetching kdebug events\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[90m[INSTSERVER] Instruments exited with code 253\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] Killall instruments\r\n\u001B[36minfo\u001B[39m: [debug] Instruments crashed on startup\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to retry launching instruments, this is retry #2\r\n\u001B[36minfo\u001B[39m: [debug] Killall iPhoneSimulator\r\n\u001B[36minfo\u001B[39m: Launching instruments\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to run app on real device with UDID 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3\r\n\u001B[36minfo\u001B[39m: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3 cisco.MasterFlix -e UIASCRIPT \"/Users/rajgopal/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js\" -e UIARESULTSPATH /tmp/appium-instruments\r\n\u001B[36minfo\u001B[39m: [debug] And extra without-delay env: {}\r\n\u001B[36minfo\u001B[39m: [debug] And launch timeouts (in ms): {\"global\":90000}\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[33m[INST STDERR] 2015-07-06 17:40:20.398 instruments[2005:61545] Error fetching kdebug events\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[90m[INSTSERVER] Instruments exited with code 253\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] Killall instruments\r\n\u001B[36minfo\u001B[39m: [debug] Instruments crashed on startup\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to retry launching instruments, this is retry #3\r\n\u001B[36minfo\u001B[39m: [debug] Killall iPhoneSimulator\r\n\u001B[36minfo\u001B[39m: Launching instruments\r\n\u001B[36minfo\u001B[39m: [debug] Attempting to run app on real device with UDID 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3\r\n\u001B[36minfo\u001B[39m: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w 5336ce7bb0d4355e7f093f7cdfa4f8226840acd3 cisco.MasterFlix -e UIASCRIPT \"/Users/rajgopal/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js\" -e UIARESULTSPATH /tmp/appium-instruments\r\n\u001B[36minfo\u001B[39m: [debug] And extra without-delay env: {}\r\n\u001B[36minfo\u001B[39m: [debug] And launch timeouts (in ms): {\"global\":90000}\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[33m[INST STDERR] 2015-07-06 17:40:27.118 instruments[2008:61580] Error fetching kdebug events\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] \u001B[90m[INSTSERVER] Instruments exited with code 253\u001B[39m\r\n\u001B[36minfo\u001B[39m: [debug] Killall instruments\r\n\u001B[36minfo\u001B[39m: [debug] Instruments crashed on startup\r\n\u001B[36minfo\u001B[39m: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch\r\n\u001B[36minfo\u001B[39m: [debug] Stopping iOS log capture\r\n\u001B[36minfo\u001B[39m: [debug] Reset not set, not ending sim or cleaning up app state\r\n\u001B[36minfo\u001B[39m: [debug] Cleaning up appium session\r\n\u001B[31merror\u001B[39m: Failed to start an Appium session, err was: Error: Instruments crashed on startup\r\n\u001B[36minfo\u001B[39m: [debug] Error: Instruments crashed on startup\r\n    at Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:387:31)\r\n    at null.<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:308:12)\r\n    at ChildProcess.emit (events.js:98:17)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:810:12)\r\n\u001B[36minfo\u001B[39m: [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}\r\n\u001B[36minfo\u001B[39m: \u001B[37m<-- POST /wd/hub/session \u001B[39m\u001B[31m500\u001B[39m\u001B[90m 25651.113 ms - 182\u001B[39m \u001B[90m\u001B[39m\r\n\r\n\r\nThanks\r\nArchana"}}