From cff84ce1dc37df31c50d439c0cf8b8064a4e7b9e Mon Sep 17 00:00:00 2001 From: ElenaDiachenko Date: Wed, 27 Nov 2024 11:04:41 +0200 Subject: [PATCH] fix/deployment_target_tvos --- packages/sdk-apple/src/xcodeParser.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sdk-apple/src/xcodeParser.ts b/packages/sdk-apple/src/xcodeParser.ts index 0244cd24a..23ab82708 100644 --- a/packages/sdk-apple/src/xcodeParser.ts +++ b/packages/sdk-apple/src/xcodeParser.ts @@ -130,7 +130,9 @@ const _parseXcodeProject = (c: Context, platform: RnvPlatform) => if (platform === 'ios') { xcodeProj.updateBuildProperty('IPHONEOS_DEPLOYMENT_TARGET', deploymentTarget); } - + if (platform === 'tvos') { + xcodeProj.updateBuildProperty('TVOS_DEPLOYMENT_TARGET', deploymentTarget); + } if (provisionProfileSpecifier) { xcodeProj.updateBuildProperty('PROVISIONING_PROFILE_SPECIFIER', `"${provisionProfileSpecifier}"`); }