Skip to content

Commit 51ba9d2

Browse files
Merge pull request #3511 from NativeScript/vladimirov/fix-prepare-ios
fix: Prepare for iOS with cloud builds fails on non macOS
2 parents 3238836 + 4b479fd commit 51ba9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/platform-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
603603

604604
@helpers.hook('cleanApp')
605605
public async cleanDestinationApp(platformInfo: IPreparePlatformInfo): Promise<void> {
606-
await this.ensurePlatformInstalled(platformInfo.platform, platformInfo.platformTemplate, platformInfo.projectData, platformInfo.config);
606+
await this.ensurePlatformInstalled(platformInfo.platform, platformInfo.platformTemplate, platformInfo.projectData, platformInfo.config, platformInfo.nativePrepare);
607607

608608
const platformData = this.$platformsData.getPlatformData(platformInfo.platform, platformInfo.projectData);
609609
const appDestinationDirectoryPath = path.join(platformData.appDestinationDirectoryPath, constants.APP_FOLDER_NAME);

0 commit comments

Comments
 (0)