From 7abff5e609f9d739669bb7bd94e4052b88b6c94f Mon Sep 17 00:00:00 2001 From: ElenaDiachenko Date: Mon, 2 Dec 2024 12:18:00 +0200 Subject: [PATCH] fix/appConfigID_option_apple-based_platforms --- packages/sdk-apple/src/tasks/taskBuild.ts | 4 ++-- packages/sdk-apple/src/tasks/taskExport.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/sdk-apple/src/tasks/taskBuild.ts b/packages/sdk-apple/src/tasks/taskBuild.ts index 3280d2081..a6b90c10e 100644 --- a/packages/sdk-apple/src/tasks/taskBuild.ts +++ b/packages/sdk-apple/src/tasks/taskBuild.ts @@ -1,4 +1,4 @@ -import { createTask, RnvTaskName } from '@rnv/core'; +import { createTask, RnvTaskName, RnvTaskOptions } from '@rnv/core'; import { buildXcodeProject } from '../runner'; import { SdkPlatforms } from '../common'; import { TaskOptionPresets, TaskOptions } from '../taskOptions'; @@ -14,6 +14,6 @@ export default createTask({ return buildXcodeProject(); }, task: RnvTaskName.build, - options: TaskOptionPresets.withConfigure([TaskOptions.xcodebuildArgs]), + options: [...TaskOptionPresets.withConfigure([TaskOptions.xcodebuildArgs]), RnvTaskOptions.appConfigID], platforms: SdkPlatforms, }); diff --git a/packages/sdk-apple/src/tasks/taskExport.ts b/packages/sdk-apple/src/tasks/taskExport.ts index a4c27e583..737f8d55f 100644 --- a/packages/sdk-apple/src/tasks/taskExport.ts +++ b/packages/sdk-apple/src/tasks/taskExport.ts @@ -1,7 +1,7 @@ -import { createTask, RnvTaskName } from '@rnv/core'; +import { createTask, RnvTaskName, RnvTaskOptions } from '@rnv/core'; import { exportXcodeProject } from '../runner'; import { SdkPlatforms } from '../common'; -import { TaskOptionPresets } from '../taskOptions'; +import { TaskOptionPresets, TaskOptions } from '../taskOptions'; export default createTask({ description: 'Export the app into deployable binary', @@ -10,6 +10,6 @@ export default createTask({ return exportXcodeProject(); }, task: RnvTaskName.export, - options: TaskOptionPresets.withConfigure(), + options: [...TaskOptionPresets.withConfigure([TaskOptions.xcodebuildExportArgs]), RnvTaskOptions.appConfigID], platforms: SdkPlatforms, });