IOS 8 Cant launch on simulator APPIUM 1.3.4 and 1.3.1 where as from APPIUM IDE it works

info: [debug] iOS SDK Version set to 8.1
info: [debug] Checking whether instruments supports our device string
error: Unhandled error: TypeError: Object function (opts) {
this.app = opts.app;

// number or object like { global: 40000, afterSimLaunch: 5000 }
// may also parse JSON strings.
if (typeof opts.launchTimeout === ‘string’) {
try {
opts.launchTimeout = JSON.parse(opts.launchTimeout);
} catch (err) {
logger.warn("Invalid launch timeout: " + opts.launchTimeout);
}
}
this.launchTimeout = opts.launchTimeout || 90000;
if (typeof this.launchTimeout === ‘number’) {
this.launchTimeout = {
global: this.launchTimeout
};
}

this.termTimeout = 3000;
this.killTimeout = 3000;
this.termTimer = null;
this.killTimer = null;
this.flakeyRetries = opts.flakeyRetries;
this.launchTries = 0;
this.neverConnected = false;
this.udid = opts.udid;
if (typeof opts.isSafariLauncherApp !== “undefined”) {
logger.warn(“The isSafariLauncherApp option is deprecated. Use the " +
"ignoreStartupExit option instead”);
}
this.ignoreStartupExit = opts.ignoreStartupExit || opts.isSafariLauncherApp;
this.bootstrap = opts.bootstrap;
this.template = opts.template;
this.withoutDelay = opts.withoutDelay;
this.xcodeVersion = opts.xcodeVersion;
this.webSocket = opts.webSocket;
this.resultHandler = this.defaultResultHandler;
this.exitHandler = this.defaultExitHandler;
this.socketConnectTimeouts = [];
this.proc = null;
this.shutdownCb = null;
this.didLaunch = false;
this.debugMode = false;
this.guid = uuid.create();
this.instrumentsPath = “”;
this.processArguments = opts.processArguments;
this.simulatorSdkAndDevice = opts.simulatorSdkAndDevice;
this.tmpDir = opts.tmpDir || ‘/tmp/appium-instruments’;
this.traceDir = opts.traceDir || this.tmpDir;
} has no method ‘getAvailableDevicesWithRetry’
at IOS.checkDeviceAvailable (/Users/sri/Appium/appium/lib/devices/ios/ios.js:1079:15)

I have tried starting the Appium as similar to APPIUM IDE command
/Applications/Appium.app/Contents/Resources/node/bin/node lib/server/main.js --port “4725” --session-override --platform-version “8.1” --platform-name “iOS” --default-device

LOGS below :-
info: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)
info: Appium REST http interface listener started on 0.0.0.0:4725
info: [debug] Non-default server args: {“port”:4725,“sessionOverride”:true,“platformName”:“iOS”,“platformVersion”:“8.1”,“defaultDevice”:true}
info: Console LogLevel: debug

info: --> POST /wd/hub/session {“desiredCapabilities”:{“autoLaunch”:“true”,“device”:null,“app”:"/Users/sri/ETHAN/workspace/ce-fitnesse/e2e_framework/resources/apps/Benji-iphonesimulator.zip",“platformVersion”:8.1,“browserName”:null,“platformName”:“iOS”,“deviceName”:“iPad 2”}}
info: Client User-Agent string: appium/ruby_lib/5.0.0
warn: Converting cap autoLaunch from string to boolean. This might cause unexpected behavior.
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. : device
info: [debug] Using local .zip from desired caps: /Users/sri/ETHAN/workspace/ce-fitnesse/e2e_framework/resources/apps/Benji-iphonesimulator.zip
info: [debug] Copying local zip to tmp dir
info: [debug] /Users/sri/ETHAN/workspace/ce-fitnesse/e2e_framework/resources/apps/Benji-iphonesimulator.zip copied to /var/folders/8g/btcmdk6x2jb6q73wq3knwh2w0000gn/T/11502-83491-13co2a/appium-app.zip
info: [debug] Unzipping /var/folders/8g/btcmdk6x2jb6q73wq3knwh2w0000gn/T/11502-83491-13co2a/appium-app.zip
info: [debug] Testing zip archive: /var/folders/8g/btcmdk6x2jb6q73wq3knwh2w0000gn/T/11502-83491-13co2a/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/8g/btcmdk6x2jb6q73wq3knwh2w0000gn/T/11502-83491-13co2a/Benji.app
info: [debug] Creating new appium session 1fb952c5-7f10-4168-b6a6-494ddf312c06
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.1
info: [debug] Checking whether instruments supports our device string
error: Unhandled error: TypeError: Object function (opts) {
this.app = opts.app;

// number or object like { global: 40000, afterSimLaunch: 5000 }
// may also parse JSON strings.
if (typeof opts.launchTimeout === ‘string’) {
try {
opts.launchTimeout = JSON.parse(opts.launchTimeout);
} catch (err) {
logger.warn("Invalid launch timeout: " + opts.launchTimeout);
}
}
this.launchTimeout = opts.launchTimeout || 90000;
if (typeof this.launchTimeout === ‘number’) {
this.launchTimeout = {
global: this.launchTimeout
};
}

this.termTimeout = 3000;
this.killTimeout = 3000;
this.termTimer = null;
this.killTimer = null;
this.flakeyRetries = opts.flakeyRetries;
this.launchTries = 0;
this.neverConnected = false;
this.udid = opts.udid;
if (typeof opts.isSafariLauncherApp !== “undefined”) {
logger.warn(“The isSafariLauncherApp option is deprecated. Use the " +
"ignoreStartupExit option instead”);
}
this.ignoreStartupExit = opts.ignoreStartupExit || opts.isSafariLauncherApp;
this.bootstrap = opts.bootstrap;
this.template = opts.template;
this.withoutDelay = opts.withoutDelay;
this.xcodeVersion = opts.xcodeVersion;
this.webSocket = opts.webSocket;
this.resultHandler = this.defaultResultHandler;
this.exitHandler = this.defaultExitHandler;
this.socketConnectTimeouts = [];
this.proc = null;
this.shutdownCb = null;
this.didLaunch = false;
this.debugMode = false;
this.guid = uuid.create();
this.instrumentsPath = “”;
this.processArguments = opts.processArguments;
this.simulatorSdkAndDevice = opts.simulatorSdkAndDevice;
this.tmpDir = opts.tmpDir || ‘/tmp/appium-instruments’;
this.traceDir = opts.traceDir || this.tmpDir;
} has no method ‘getAvailableDevicesWithRetry’
at IOS.checkDeviceAvailable (/Users/sri/Appium/appium/lib/devices/ios/ios.js:1094:15)
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:610:21
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:249:17
at iterate (/Users/sri/Appium/appium/node_modules/async/lib/async.js:149:13)
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:160:25
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:251:21
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:615:34
at null. (/Users/sri/Appium/appium/lib/devices/ios/ios.js:543:5)
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:525:46
at /Users/sri/Appium/appium/node_modules/async/lib/async.js:254:17 context: [POST /wd/hub/session {“desiredCapabilities”:{“autoLaunch”:“true”,“device”:null,“app”:"/Users/sri/ETHAN/workspace/ce-fitnesse/e2e_framework/resources/apps/Benji-iphonesimulator.zip",“platformVersion”:8.1,“browserName”:null]
info: <-- POST /wd/hub/session - - ms - -