App installing but unable to launch

While running scripts, app gets installed. However, it is unable to launch app. The following error comes :

Welcome to Appium v1.3.6 (REV 004f52f249d3513809e7d0734d9205d1fec19f8e) info: Appium REST http interface listener started on 0.0.0.0:4723 info: [debug] Non-default server args: {"sessionOverride":true} info: Console LogLevel: debug info: --> GET /wd/hub/status {} info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}} info: <-- GET /wd/hub/status 200 6.125 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}} info: --> GET /wd/hub/status {} info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}} info: <-- GET /wd/hub/status 200 3.011 ms - 104 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"}}} info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"com.test.test1","bundleId":"com.test.test1","browserName":"","platformName":"iOS","udid":"d077b65cb3c4d2fa69333077c367d5939dd64b13","deviceName":"iPhone 4 OS 7","version":"7.1.1","platform":"MAC"}} info: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5) info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : version, platform info: [debug] App is an iOS bundle, will attempt to run as pre-existing info: [debug] Creating new appium session 041f720f-6449-43fc-acad-1a2cfb5b3d53 info: [debug] Removing any remaining instruments sockets info: [debug] Cleaned up instruments socket /tmp/instruments_sock info: [debug] Setting Xcode folder info: [debug] Setting Xcode version info: [debug] Setting iOS SDK Version info: [debug] Getting sdk version from xcrun with a timeout info: [debug] iOS SDK Version set to 8.2 info: [debug] Not checking whether simulator is available since we're on a real device info: [debug] Detecting automation tracetemplate info: [debug] Not auto-detecting udid, running on sim info: [debug] Could not parse plist file (as binary) at /usr/local/lib/node_modules/appium/com.test.test1/en.lproj/Localizable.strings info: Will try to parse the plist file as XML info: [debug] Could not parse plist file (as XML) at /usr/local/lib/node_modules/appium/com.test.test1/en.lproj/Localizable.strings warn: Could not parse app Localizable.strings assuming it doesn't exist info: [debug] Creating instruments info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag info: [debug] Preparing uiauto bootstrap info: [debug] Dynamic bootstrap dir: /Users/kumarpratyush/Library/Application Support/appium/bootstrap info: [debug] Dynamic env: {"nodePath":"/usr/local/Cellar/node/0.12.0/bin/node","commandProxyClientPath":"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"} ...o: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify! info: [debug] Dynamic bootstrap path: /Users/kumarpratyush/Library/Application Support/appium/bootstrap/bootstrap-8a852d5c6e8dd1ae.js info: [debug] Reusing dynamic bootstrap: /Users/kumarpratyush/Library/Application Support/appium/bootstrap/bootstrap-8a852d5c6e8dd1ae.js info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.2","iOSSDKVersion":"8.2","deviceName":"iPhone 4 OS 7","platformVersion":null} info: [debug] fixDevice is on info: [debug] Final device string is: 'iPhone 4 OS 7 (8.2 Simulator)' info: [debug] Not setting device type since we're on a real device info: [debug] Checking whether we need to set app preferences info: [debug] Not setting iOS and app preferences since we're on a real device info: [debug] Running ios sim reset flow info: [debug] Killing the simulator process info: [debug] Killall iOS Simulator info: [debug] Killing any other simulator daemons info: [debug] On a real device; cannot clean device state info: [debug] Not setting locale because we're using a real device info: [debug] No iOS / app preferences to set info: [debug] Starting iOS device log capture via deviceconsole info: [debug] Not pre-launching simulator info: [debug] Creating iDevice object with udid d077b65cb3c4d2fa69333077c367d5939dd64b13 info: [debug] Checking app install status using: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id d077b65cb3c4d2fa69333077c367d5939dd64b13 --bundle com.test.test1 info: [debug] App is installed. info: [debug] fullReset not requested. No need to install. info: [debug] Starting command proxy. info: [debug] Instruments socket server started at /tmp/instruments_sock info: [debug] Starting instruments info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments info: Launching instruments info: [debug] Attempting to run app on real device with UDID d077b65cb3c4d2fa69333077c367d5939dd64b13 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 d077b65cb3c4d2fa69333077c367d5939dd64b13 com.test.test1 -e UIASCRIPT "/Users/kumarpratyush/Library/Application Support/appium/bootstrap/bootstrap-8a852d5c6e8dd1ae.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] 2015-07-30 19:36:53.717 instruments[22611:1307] WebKit Threading Violation - initial use of WebKit from a secondary thread. info: [debug] [INST STDERR] Instruments Usage Error : Specified target process is invalid: com.test.test1 info: [debug] [INST STDERR] instruments, version 6.2 (56718) usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]] 2015-07-30 19:36:53.918 instruments[22611:2307] Connection peer refused channel request for "com.apple.instruments.server.services.wireless"; channel canceled info: [debug] [INSTSERVER] Instruments exited with code 255 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: Launching instruments info: [debug] Attempting to run app on real device with UDID d077b65cb3c4d2fa69333077c367d5939dd64b13 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 d077b65cb3c4d2fa69333077c367d5939dd64b13 com.test.test1 -e UIASCRIPT "/Users/kumarpratyush/Library/Application Support/appium/bootstrap/bootstrap-8a852d5c6e8dd1ae.js" -e UIARESULTSPATH /tmp/appium-instruments info: [debug] And extra without-delay env: {} info: [debug] And launch timeouts (in ms): {"global":90000}

I am using the following configurations :
Xcode - 6.2
Device - iPhone 4/4S
iOS - 7.1.1
appium - 1.3.6

However, on the same config, with iOS 8.2, the scripts are running fine.
Any insights on the same?

Thanks.

@jonahss @jlipps @isaac @kirill @JessicaSachs : Any insight?

Hm. Try running just the instruments command. Maybe your bundleId for your app is invalid or somehow mixed up.