Skip to content

Commit

Permalink
fix(ios): build output path for cordova-ios@7.0.0 (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Sep 15, 2023
1 parent 1f5c34b commit c016dae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ParamedicSauceLabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class ParamedicSauceLabs {
break;

case utilities.IOS:
packageFolders = [path.join(this.runner.tempFolder.name, 'platforms', 'ios', 'build', 'emulator')];
packageFolders = [path.join(this.runner.tempFolder.name, 'platforms', 'ios', 'build', 'Debug-iphonesimulator')];
break;

default:
Expand Down
4 changes: 2 additions & 2 deletions lib/appium/AppiumRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ function getPackagePath (options) {

case utilities.IOS: {
const searchDir = options.device
? path.join(fullAppPath, 'platforms', 'ios', 'build', 'device')
: path.join(fullAppPath, 'platforms', 'ios', 'build', 'emulator');
? path.join(fullAppPath, 'platforms', 'ios', 'build', 'Debug-iphoneos')
: path.join(fullAppPath, 'platforms', 'ios', 'build', 'Debug-iphonesimulator');

const mask = options.device ? '.ipa$' : '.app$';
const files = fs.readdirSync(searchDir)
Expand Down

0 comments on commit c016dae

Please sign in to comment.