From e7644d3e5f3143c089536b4e46e4b8c0a33ae765 Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Mon, 13 Nov 2023 14:04:29 +1100 Subject: [PATCH] Do not attempt Gutenberg workardound when not running locally --- Gutenberg/cocoapods_helpers.rb | 2 ++ Podfile | 2 +- Podfile.lock | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Gutenberg/cocoapods_helpers.rb b/Gutenberg/cocoapods_helpers.rb index 34a1f8695d15..3a038b2e7030 100644 --- a/Gutenberg/cocoapods_helpers.rb +++ b/Gutenberg/cocoapods_helpers.rb @@ -127,6 +127,8 @@ def gutenberg_post_install(installer:) end def gutenberg_post_integrate + return unless should_use_local_gutenberg + # If the this workaround runs in the post_install step, the changes it makes get overridden somehow. workaround_broken_search_paths end diff --git a/Podfile b/Podfile index 8f60221cd757..274cb4abfed4 100644 --- a/Podfile +++ b/Podfile @@ -413,5 +413,5 @@ post_install do |installer| end post_integrate do - workaround_broken_search_paths + gutenberg_post_integrate end diff --git a/Podfile.lock b/Podfile.lock index f3db8328d097..d9edcf6c6d63 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -245,6 +245,6 @@ SPEC CHECKSUMS: ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba ZIPFoundation: d170fa8e270b2a32bef9dcdcabff5b8f1a5deced -PODFILE CHECKSUM: 43b66d3cf01357115a3e732f20184ee1a9b90936 +PODFILE CHECKSUM: efa960f4d37878e9d4fbac56e287800b45d79e37 COCOAPODS: 1.14.2