From 9e91575e6353c234b165c79b23635a1537e33d3f Mon Sep 17 00:00:00 2001 From: Szymon Rybczak Date: Mon, 8 Jan 2024 10:35:58 +0100 Subject: [PATCH] fix(ios): types when passing port to `env` in `xcodebuild` (#2245) --- packages/cli-platform-ios/src/commands/buildIOS/buildProject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-platform-ios/src/commands/buildIOS/buildProject.ts b/packages/cli-platform-ios/src/commands/buildIOS/buildProject.ts index 4917cf5ac..eea8cf04c 100644 --- a/packages/cli-platform-ios/src/commands/buildIOS/buildProject.ts +++ b/packages/cli-platform-ios/src/commands/buildIOS/buildProject.ts @@ -153,7 +153,7 @@ function getProcessOptions( : ''; const port = - 'port' in args && typeof args.port === 'string' ? args.port : ''; + 'port' in args && typeof args.port === 'number' ? String(args.port) : ''; return { env: {