From 20ab06e08caea26d19b8b8bd6bf7e04c5a57fac0 Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Mon, 7 Nov 2022 13:01:32 +0100 Subject: [PATCH] Centralize WordPressKit pod definition in `Podfile` --- Podfile | 15 ++++++++------- Podfile.lock | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Podfile b/Podfile index 5a775ed3f83..e6b30290aa9 100644 --- a/Podfile +++ b/Podfile @@ -33,6 +33,12 @@ def tracks # pod 'Automattic-Tracks-iOS', :path => '../Automattic-Tracks-iOS' end +def wordpress_kit + # To allow pod to pick up beta versions use -beta. E.g., 1.1.7-beta.1 + pod 'WordPressKit', '~> 4.49.0' + # pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => '' +end + def keychain pod 'KeychainAccess', '~> 4.2.2' end @@ -115,10 +121,7 @@ def yosemite_pods alamofire stripe_terminal cocoa_lumberjack - - # To allow pod to pick up beta versions use -beta. E.g., 1.1.7-beta.1 - pod 'WordPressKit', '~> 4.49.0' - # pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => '' + wordpress_kit aztec end @@ -174,9 +177,7 @@ def networking_pods # Used for HTML parsing aztec - # To allow pod to pick up beta versions use -beta. E.g., 1.1.7-beta.1 - pod 'WordPressKit', '~> 4.49.0' - # pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => '' + wordpress_kit end # Networking Target: diff --git a/Podfile.lock b/Podfile.lock index 335a3d6627b..875c5b5fd16 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -178,6 +178,6 @@ SPEC CHECKSUMS: ZendeskSupportProvidersSDK: 2bdf8544f7cd0fd4c002546f5704b813845beb2a ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba -PODFILE CHECKSUM: 3b1ba1b6abc1062da9355f08123c1118559edf9c +PODFILE CHECKSUM: 55531c64b396f477ea6e3814ab400e9b14d0bf48 COCOAPODS: 1.11.3