Skip to content

Commit

Permalink
fixed app path for real devices
Browse files Browse the repository at this point in the history
  • Loading branch information
sebv committed Oct 17, 2014
1 parent de59464 commit 5b232bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/devices/ios/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ IOS.prototype.makeInstruments = function (cb) {
}).then(
function (bootstrapPath) {
var instruments = new Instruments({
app: this.args.app || this.args.bundleId
// on real devices bundleId is always used
app: (!this.args.udid ? this.args.app : null) || this.args.bundleId
, udid: this.args.udid
, processArguments: this.args.processArguments
, ignoreStartupExit: this.shouldIgnoreInstrumentsExit()
Expand Down

0 comments on commit 5b232bb

Please sign in to comment.