Skip to content

Commit

Permalink
Remove Sentry pod regex logic and explicity list the Sentry pods to i…
Browse files Browse the repository at this point in the history
…nstall dynamically
  • Loading branch information
salimbraksa committed May 2, 2023
1 parent 7084790 commit 450c777
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 450c777

Please sign in to comment.