mirror of
https://github.com/appium/appium.git
synced 2026-02-11 12:29:48 -06:00
move instruments in with the other ios stuff
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
var spawn = require('child_process').spawn
|
||||
, exec = require('child_process').exec
|
||||
, logger = require('../lib/server/logger').get('appium')
|
||||
, logger = require('../../server/logger.js').get('appium')
|
||||
, fs = require('fs')
|
||||
, _ = require('underscore')
|
||||
, net = require('net')
|
||||
@@ -11,7 +11,7 @@ var spawn = require('child_process').spawn
|
||||
, path = require('path')
|
||||
, rimraf = require('rimraf')
|
||||
, mkdirp = require('mkdirp')
|
||||
, codes = require('./server/status.js').codes;
|
||||
, codes = require('../../server/status.js').codes;
|
||||
|
||||
var Instruments = function(app, udid, isSafariLauncherApp, bootstrap, template, sock, withoutDelay, xcodeVersion, webSocket, cb, exitCb) {
|
||||
this.app = app;
|
||||
@@ -210,12 +210,12 @@ Instruments.prototype.spawnInstruments = function(tmpDir) {
|
||||
if (this.withoutDelay && !this.udid) {
|
||||
var isXcode4 = this.xcodeVersion !== null && this.xcodeVersion[0] === '4';
|
||||
env.DYLD_INSERT_LIBRARIES = path.resolve(__dirname, isXcode4 ?
|
||||
"../build/iwd4/InstrumentsShim.dylib" :
|
||||
"../build/iwd/InstrumentsShim.dylib");
|
||||
"../../../build/iwd4/InstrumentsShim.dylib" :
|
||||
"../../../build/iwd/InstrumentsShim.dylib");
|
||||
|
||||
env.LIB_PATH = path.resolve(__dirname, isXcode4 ?
|
||||
"../build/iwd4" :
|
||||
"../build/iwd");
|
||||
"../../../build/iwd4" :
|
||||
"../../../build/iwd");
|
||||
}
|
||||
logger.info("Spawning instruments with command: " + this.instrumentsPath +
|
||||
" " + args.join(" "));
|
||||
@@ -10,7 +10,7 @@ var path = require('path')
|
||||
, bplistCreate = require('bplist-creator')
|
||||
, bplistParse = require('bplist-parser')
|
||||
, xmlplist = require('plist')
|
||||
, instruments = require('../../instruments.js')
|
||||
, instruments = require('./instruments.js')
|
||||
, uuid = require('uuid-js')
|
||||
, helpers = require('../../helpers.js')
|
||||
, escapeSpecialChars = helpers.escapeSpecialChars
|
||||
|
||||
Reference in New Issue
Block a user