From 9c776fcae7f0873570488cba985e0131a99b9582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Van=20der=20Auwermeulen=20Gr=C3=A9goire?= Date: Mon, 24 Mar 2025 14:54:49 +0100 Subject: [PATCH] Update react-native-ios.go --- pkg/upload/react-native-ios.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/upload/react-native-ios.go b/pkg/upload/react-native-ios.go index 97ac7b97..8cab206a 100644 --- a/pkg/upload/react-native-ios.go +++ b/pkg/upload/react-native-ios.go @@ -70,7 +70,12 @@ func ProcessReactNativeIos(options options.CLI, endpoint string, logger log.Logg } if iosOptions.Ios.Scheme != "" { - buildSettings, err = ios.GetXcodeBuildSettings(iosOptions.Ios.XcodeProject, iosOptions.Ios.Scheme, "") + buildType := "Release" + if iosOptions.ReactNative.Dev { + buildType = "Debug" + } + + buildSettings, err = ios.GetXcodeBuildSettings(iosOptions.Ios.XcodeProject, iosOptions.Ios.Scheme, buildType) if err != nil { logger.Warn(err.Error()) }