Skip to content

Commit d5c5978

Browse files
use generic/platform=${platform} fallback
1 parent be48771 commit d5c5978

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58731,7 +58731,7 @@ async function getDestination(projectPath, scheme, platform) {
5873158731
return destinationString;
5873258732
}
5873358733
}
58734-
return `platform=${platform}`;
58734+
return `generic/platform=${platform}`;
5873558735
}
5873658736
async function getBuildSettings(projectPath, scheme, platform, destination) {
5873758737
let buildSettingsOutput = '';

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/xcode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ async function getDestination(projectPath: string, scheme: string, platform: str
398398
return destinationString;
399399
}
400400
}
401-
// fallback: use the platform as the destination
402-
return `platform=${platform}`;
401+
402+
return `generic/platform=${platform}`;
403403
}
404404

405405
async function getBuildSettings(projectPath: string, scheme: string, platform: string, destination: string | undefined): Promise<string> {

0 commit comments

Comments
 (0)