From 450c777cf959d0d1e2d4b030c5eb4fa51281cf14 Mon Sep 17 00:00:00 2001 From: Salim Braksa Date: Tue, 2 May 2023 01:24:45 +0100 Subject: [PATCH] Remove Sentry pod regex logic and explicity list the Sentry pods to install dynamically --- Podfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Podfile b/Podfile index e6b616838350..3c6b5ef80247 100644 --- a/Podfile +++ b/Podfile @@ -404,9 +404,7 @@ pre_install do |installer| installer.pod_targets.each do |pod| # Statically linking Sentry results in a conflict with `NSDictionary.objectAtKeyPath`, but dynamically # linking it resolves this. - # - # The regex is to match both "Sentry" and "SentryPrivate" pods. - if pod.name =~ /^Sentry/ + if %w[Sentry SentryPrivate].include? pod.name dynamic << pod next end