Skip to content

Commit

Permalink
hotfix: added a retry on install (XCode 10 issue) (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph authored and LeoNatan committed Sep 28, 2018
1 parent ced4fd6 commit df01a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detox/src/devices/ios/AppleSimUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class AppleSimUtils {
trying: `Installing ${absPath}...`,
successful: `${absPath} installed`
};
await this._execSimctl({ cmd: `install ${udid} "${absPath}"`, statusLogs });
await this._execSimctl({ cmd: `install ${udid} "${absPath}"`, statusLogs, retries: 2 });
}

async uninstall(udid, bundleId) {
Expand Down

0 comments on commit df01a20

Please sign in to comment.