Skip to content

Commit f031e8d

Browse files
authored
Merge pull request #4594 from NativeScript/kddimitrov/fix-cocoa-build-for-simulator
fix: target argument passed to xcodebuild when using workspace
2 parents 3baf93a + bd73657 commit f031e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/ios-project-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
599599

600600
private async buildForSimulator(projectRoot: string, args: string[], projectData: IProjectData, buildConfig?: IBuildConfig): Promise<void> {
601601
const architectures = this.getBuildArchitectures(projectData, buildConfig, ["i386", "x86_64"]);
602-
let product = ProductArgs.target;
602+
let product;
603603

604604
args = args
605605
.concat(architectures)

0 commit comments

Comments
 (0)