Skip to content

Commit 470f6a4

Browse files
[CI] Remove CocoaPods (#3822)
1 parent 001114f commit 470f6a4

File tree

34 files changed

+12
-994
lines changed

34 files changed

+12
-994
lines changed

.github/workflows/cron-checks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ jobs:
183183
- uses: ./.github/actions/bootstrap
184184
- run: bundle exec fastlane rubocop
185185
- run: bundle exec fastlane run_swift_format strict:true
186-
- run: bundle exec fastlane pod_lint
187186

188187
slack:
189188
name: Slack Report

.github/workflows/release-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- name: "Fastlane - Publish Release"
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
25-
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
2625
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
2726
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
2827
run: bundle exec fastlane publish_release --verbose

.github/workflows/smoke-checks.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ jobs:
5959
- run: bundle exec fastlane rubocop
6060
- run: bundle exec fastlane run_swift_format strict:true
6161
- run: bundle exec fastlane validate_public_interface
62-
- run: bundle exec fastlane pod_lint
63-
if: startsWith(github.event.pull_request.head.ref, 'release/')
6462

6563
build-old-xcode:
6664
name: Build LLC + UI (Xcode 15)
@@ -271,7 +269,3 @@ jobs:
271269
- name: Test SPM Integration
272270
run: bundle exec fastlane spm_integration
273271
timeout-minutes: 25
274-
- name: Test CocoaPods Integration
275-
if: always()
276-
run: bundle exec fastlane cocoapods_integration
277-
timeout-minutes: 25

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ playground.xcworkspace
5353
# Package.pins
5454
.build/
5555

56-
# CocoaPods
57-
#
58-
# We recommend against adding the Pods directory to your .gitignore. However
59-
# you should judge for yourself, the pros and cons are mentioned at:
60-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
61-
Pods/
62-
6356
# fastlane
6457
#
6558
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
@@ -85,7 +78,6 @@ StreamChatCoreTests.xctest.coverage.txt
8578
vendor/bundle/
8679
.bundle/
8780
.swiftpm
88-
Sample/Cocoapods/Podfile.lock
8981
docusaurus/.env
9082
reports/
9183
.scannerwork/

.styles/config/vocabularies/Base/accept.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
100ms
22
boolean
33
Boolean
4-
CocoaPods
54
cooldown
65
Cooldown
76
encodable
@@ -12,7 +11,6 @@ previewable
1211
formatters
1312
APIs
1413
Livestream
15-
Podfile
1614
Cartfile
1715
XCFramework
1816
uploader

AGENTS.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Agents should prioritize backwards compatibility, API stability, and high test c
1010

1111
### Tech & toolchain
1212
• Language: Swift (iOS; Mac Catalyst supported)
13-
• Package managers: Swift Package Manager (primary), CocoaPods and XCFrameworks (also supported)
13+
• Package managers: Swift Package Manager (primary) and XCFrameworks (also supported)
1414
• Minimum Xcode: 15.x or newer (Apple Silicon supported)
15-
• iOS targets: Follow existing deployment targets in package/podspec files; don’t lower without approval
15+
• iOS targets: Follow existing deployment targets in package file; don’t lower without approval
1616
• CI: GitHub Actions (assume PR validation on build + tests + lint)
1717
• Linters & docs: SwiftLint and SwiftFormat
1818

@@ -31,20 +31,6 @@ Use the closest folder’s patterns and conventions when editing.
3131
1. Open the repository root in Xcode (Package.swift is present), resolve packages.
3232
2. Select the intended scheme (see Schemes below), pick an iOS Simulator (e.g., iPhone 15), then Build.
3333

34-
### Alternative: CocoaPods consumer check
35-
36-
If you need to validate as a Pod consumer:
37-
1. Create a throwaway sample app.
38-
2. Add to Podfile:
39-
40-
```
41-
use_frameworks!
42-
pod 'StreamChatUI', '~> 4.0'
43-
# core only: pod 'StreamChat', '~> 4.0'
44-
```
45-
46-
3. pod install then build the sample.
47-
4834
### Schemes
4935

5036
Common scheme names in this repo include (exact names may evolve):
@@ -118,9 +104,9 @@ Security & credentials
118104
• If you add scripts, ensure they fail closed on missing env vars.
119105

120106
Compatibility & distribution
121-
• Maintain compatibility with supported iOS versions listed in Package.swift/podspecs.
107+
• Maintain compatibility with supported iOS versions listed in Package.swift.
122108
• Don’t introduce third-party deps without discussion.
123-
• Validate SPM and CocoaPods integration when changing module boundaries.
109+
• Validate SPM integration when changing module boundaries.
124110

125111
When in doubt
126112
• Mirror existing patterns in the nearest module.

Documentation.docc/Documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is the official iOS SDK for [Stream Chat](https://getstream.io/chat/sdk/ios
1717

1818
* [iOS/Swift Chat Tutorial](https://getstream.io/tutorials/ios-chat/): Learn how to use the SDK by following our simple tutorial.
1919
* [Register](https://getstream.io/chat/trial/): Register to get an API key for Stream Chat.
20-
* [Installation](https://getstream.io/chat/docs/sdk/ios/basics/integration): Learn more about how to install the SDK using SPM or CocoaPods.
20+
* [Installation](https://getstream.io/chat/docs/sdk/ios/basics/integration): Learn more about how to install the SDK using SPM.
2121
* Do you want to use Module Stable XCFrameworks? [Check this out](https://getstream.io/chat/docs/sdk/ios/basics/integration#xcframeworks)
2222
* [Documentation](https://getstream.io/chat/docs/sdk/ios/): An extensive documentation is available to help with you integration.
2323
* [SwiftUI](https://github.com/GetStream/stream-chat-swiftui): Check our SwiftUI SDK if you are developing with SwiftUI.

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ gem 'slather'
1515
eval_gemfile('fastlane/Pluginfile')
1616

1717
group :fastlane_dependencies do
18-
gem 'cocoapods'
1918
gem 'fastlane-plugin-lizard'
2019
gem 'plist'
2120
gem 'xctest_list'

Gemfile.lock

Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ GEM
1919
tzinfo (~> 2.0, >= 2.0.5)
2020
addressable (2.8.7)
2121
public_suffix (>= 2.0.2, < 7.0)
22-
algoliasearch (1.27.5)
23-
httpclient (~> 2.8, >= 2.8.3)
24-
json (>= 1.5.1)
2522
artifactory (3.0.17)
2623
ast (2.4.3)
2724
atomos (0.1.3)
@@ -54,43 +51,6 @@ GEM
5451
nap
5552
open4 (~> 1.3)
5653
clamp (1.3.3)
57-
cocoapods (1.16.2)
58-
addressable (~> 2.8)
59-
claide (>= 1.0.2, < 2.0)
60-
cocoapods-core (= 1.16.2)
61-
cocoapods-deintegrate (>= 1.0.3, < 2.0)
62-
cocoapods-downloader (>= 2.1, < 3.0)
63-
cocoapods-plugins (>= 1.0.0, < 2.0)
64-
cocoapods-search (>= 1.0.0, < 2.0)
65-
cocoapods-trunk (>= 1.6.0, < 2.0)
66-
cocoapods-try (>= 1.1.0, < 2.0)
67-
colored2 (~> 3.1)
68-
escape (~> 0.0.4)
69-
fourflusher (>= 2.3.0, < 3.0)
70-
gh_inspector (~> 1.0)
71-
molinillo (~> 0.8.0)
72-
nap (~> 1.0)
73-
ruby-macho (>= 2.3.0, < 3.0)
74-
xcodeproj (>= 1.27.0, < 2.0)
75-
cocoapods-core (1.16.2)
76-
activesupport (>= 5.0, < 8)
77-
addressable (~> 2.8)
78-
algoliasearch (~> 1.0)
79-
concurrent-ruby (~> 1.1)
80-
fuzzy_match (~> 2.0.4)
81-
nap (~> 1.0)
82-
netrc (~> 0.11)
83-
public_suffix (~> 4.0)
84-
typhoeus (~> 1.0)
85-
cocoapods-deintegrate (1.0.5)
86-
cocoapods-downloader (2.1)
87-
cocoapods-plugins (1.0.0)
88-
nap
89-
cocoapods-search (1.0.1)
90-
cocoapods-trunk (1.6.0)
91-
nap (>= 0.8, < 2.0)
92-
netrc (~> 0.11)
93-
cocoapods-try (1.2.0)
9454
coderay (1.1.3)
9555
colored (1.2)
9656
colored2 (3.1.2)
@@ -125,9 +85,6 @@ GEM
12585
dotenv (2.8.1)
12686
drb (2.2.3)
12787
emoji_regex (3.2.3)
128-
escape (0.0.4)
129-
ethon (0.16.0)
130-
ffi (>= 1.15.0)
13188
eventmachine (1.2.7)
13289
excon (0.112.0)
13390
faraday (1.10.4)
@@ -209,17 +166,14 @@ GEM
209166
fastlane
210167
pry
211168
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
212-
fastlane-plugin-stream_actions (0.3.90)
169+
fastlane-plugin-stream_actions (0.3.91)
213170
xctest_list (= 1.2.1)
214171
fastlane-plugin-versioning (0.7.1)
215172
fastlane-sirp (1.0.0)
216173
sysrandom (~> 1.0)
217174
faye-websocket (0.12.0)
218175
eventmachine (>= 0.12.0)
219176
websocket-driver (>= 0.8.0)
220-
ffi (1.17.2)
221-
fourflusher (2.3.1)
222-
fuzzy_match (2.0.4)
223177
gh_inspector (1.1.3)
224178
git (2.3.3)
225179
activesupport (>= 5.0)
@@ -284,7 +238,6 @@ GEM
284238
mini_mime (1.1.5)
285239
mini_portile2 (2.8.9)
286240
minitest (5.25.5)
287-
molinillo (0.8.0)
288241
multi_json (1.17.0)
289242
multipart-post (2.4.1)
290243
mustermann (3.0.3)
@@ -295,7 +248,6 @@ GEM
295248
naturally (2.3.0)
296249
net-http-persistent (4.0.6)
297250
connection_pool (~> 2.2, >= 2.2.4)
298-
netrc (0.11.0)
299251
nio4r (2.7.4)
300252
nkf (0.2.0)
301253
nokogiri (1.18.9)
@@ -361,7 +313,6 @@ GEM
361313
rubocop-ast (>= 0.4.0)
362314
rubocop-require_tools (0.1.2)
363315
rubocop (>= 0.49.1)
364-
ruby-macho (2.5.1)
365316
ruby-progressbar (1.13.0)
366317
ruby2_keywords (0.0.5)
367318
rubyzip (2.4.1)
@@ -409,8 +360,6 @@ GEM
409360
tty-screen (0.8.2)
410361
tty-spinner (0.9.3)
411362
tty-cursor (~> 0.7)
412-
typhoeus (1.4.1)
413-
ethon (>= 0.9.0)
414363
tzinfo (2.0.6)
415364
concurrent-ruby (~> 1.0)
416365
uber (0.1.0)
@@ -437,15 +386,14 @@ PLATFORMS
437386
ruby
438387

439388
DEPENDENCIES
440-
cocoapods
441389
danger
442390
danger-commit_lint
443391
eventmachine
444392
fastlane
445393
fastlane-plugin-create_xcframework
446394
fastlane-plugin-lizard
447395
fastlane-plugin-sonarcloud_metric_kit
448-
fastlane-plugin-stream_actions (= 0.3.90)
396+
fastlane-plugin-stream_actions (= 0.3.91)
449397
fastlane-plugin-versioning
450398
faye-websocket
451399
json

Integration/CocoaPods/.gitignore

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

0 commit comments

Comments
 (0)