Skip to content

Commit 9c87b4a

Browse files
committed
Deintegrate CocoaPods
- Delete `Podfile` and remove the Pods project from the workspace - Updated `Rakefile` to no longer install CocoaPods - Update `Fastfile` to use `Module/Sources` for the localization now in SwiftPM - Remove CocoaPods caching from CI
1 parent 5524ede commit 9c87b4a

File tree

24 files changed

+13
-543
lines changed

24 files changed

+13
-543
lines changed

.buildkite/commands/build-for-testing.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ fi
77
echo "--- :rubygems: Setting up Gems"
88
install_gems
99

10-
echo "--- :cocoapods: Setting up Pods"
11-
install_cocoapods
12-
1310
echo "--- :swift: Setting up Swift Packages"
1411
install_swiftpm_dependencies
1512

.buildkite/commands/log-outdated-pods.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

.buildkite/commands/prototype-build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ fi
77
echo "--- :rubygems: Setting up Gems"
88
install_gems
99

10-
echo "--- :cocoapods: Setting up Pods"
11-
install_cocoapods
12-
1310
echo "--- :swift: Setting up Swift Packages"
1411
install_swiftpm_dependencies
1512

.buildkite/commands/release-build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ brew install ghostscript
77
echo "--- :rubygems: Setting up Gems"
88
install_gems
99

10-
echo "--- :cocoapods: Setting up Pods"
11-
install_cocoapods
12-
1310
echo "--- :swift: Setting up Swift Packages"
1411
install_swiftpm_dependencies
1512

.buildkite/commands/run-wordpress-authenticator-tests.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ fi
77
echo "--- :rubygems: Setting up Gems"
88
install_gems
99

10-
echo "--- :cocoapods: Setting up Pods"
11-
install_cocoapods
12-
1310
echo "--- :swift: Setting up Swift Packages"
1411
install_swiftpm_dependencies
1512

.buildkite/release-pipelines/start-code-freeze.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ steps:
2222
2323
echo '--- :snowflake: Start Code Freeze'
2424
bundle exec fastlane start_code_freeze skip_confirm:true
25-
26-
echo '--- :cocoapods: Check for Outdated Pods'
27-
.buildkite/commands/log-outdated-pods.sh
2825
retry:
2926
manual:
3027
# If those jobs fail, one should always prefer re-triggering a new build from ReleaseV2 rather than retrying the individual job from Buildkite

.github/workflows/screenshots.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ jobs:
2323
uses: ruby/setup-ruby@v1
2424
with:
2525
bundler-cache: true
26-
- name: Restore CocoaPods Dependency Cache
27-
id: restore-cocoapods-dependency-cache
28-
uses: actions/cache@v4
29-
with:
30-
path: Pods
31-
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
3226

3327
- name: Install App Dependencies
3428
run: bundle exec rake dependencies

.gitignore

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,11 @@ playground.xcworkspace
4646
# Package.pins
4747
.build/
4848

49-
# CocoaPods
49+
# As of late May 2025, the project no longer uses CocoaPods.
50+
# We still ignore the Pods folder, however, to avoid transition issues.
5051
#
51-
# We recommend against adding the Pods directory to your .gitignore. However
52-
# you should judge for yourself, the pros and cons are mentioned at:
53-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
54-
#
55-
52+
# If you are reading this in 2026 or beyond, please remove this rule as enough
53+
# time has passed.
5654
Pods/
5755

5856
# Carthage

Dangerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inl
77

88
manifest_pr_checker.check_all_manifest_lock_updated
99

10-
podfile_checker.check_podfile_does_not_have_branch_references
11-
1210
ios_release_checker.check_core_data_model_changed
1311
ios_release_checker.check_release_notes_and_app_store_strings
1412

Experiments/Experiments.xcodeproj/project.pbxproj

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@
4444
0270C0A427069B8900FC799F /* DefaultFeatureFlagService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultFeatureFlagService.swift; sourceTree = "<group>"; };
4545
0270C0A627069BA500FC799F /* BuildConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BuildConfiguration.swift; sourceTree = "<group>"; };
4646
02AB82EE27069D93008D7334 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
47-
33CEC0C5283FD4C9EF8C6A3C /* Pods_Experiments.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Experiments.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4847
3F8B84182DD2FEC2002DD6E8 /* Experiments.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = Experiments.xctestplan; sourceTree = "<group>"; };
4948
3FA7D9FB2D547E1700CE5611 /* Experiments.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Experiments.xcconfig; sourceTree = "<group>"; };
50-
AAC7C082DD376957B4676401 /* Pods_ExperimentsTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ExperimentsTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5149
CC53FB47275E426900C4CA4F /* ABTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ABTest.swift; sourceTree = "<group>"; };
5250
EE2EDFDE29879331004E702B /* ABTestVariationProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ABTestVariationProvider.swift; sourceTree = "<group>"; };
5351
EEC8C0EC298A92F10047B4CB /* CachedABTestVariationProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CachedABTestVariationProvider.swift; sourceTree = "<group>"; };
@@ -83,7 +81,6 @@
8381
0270C08327069A8900FC799F /* Experiments */,
8482
0270C08E27069A8900FC799F /* ExperimentsTests */,
8583
0270C08227069A8900FC799F /* Products */,
86-
4E1989AAB68578443A38332F /* Pods */,
8784
6F0EE5A69BC4E0719C6AE8AC /* Frameworks */,
8885
);
8986
sourceTree = "<group>";
@@ -126,19 +123,9 @@
126123
path = ExperimentsTests;
127124
sourceTree = "<group>";
128125
};
129-
4E1989AAB68578443A38332F /* Pods */ = {
130-
isa = PBXGroup;
131-
children = (
132-
);
133-
name = Pods;
134-
path = ../Pods;
135-
sourceTree = "<group>";
136-
};
137126
6F0EE5A69BC4E0719C6AE8AC /* Frameworks */ = {
138127
isa = PBXGroup;
139128
children = (
140-
33CEC0C5283FD4C9EF8C6A3C /* Pods_Experiments.framework */,
141-
AAC7C082DD376957B4676401 /* Pods_ExperimentsTests.framework */,
142129
);
143130
name = Frameworks;
144131
sourceTree = "<group>";

0 commit comments

Comments
 (0)