Skip to content

Commit 16ec223

Browse files
2semclaude
andauthored
chore: remove CocoaPods, migrate to SPM only (#14)
CocoaPods is deprecated and shutting down. Remove Podfile and GADManager.podspec; update CLAUDE.md to reflect SPM-only distribution. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2b848e4 commit 16ec223

3 files changed

Lines changed: 9 additions & 179 deletions

File tree

CLAUDE.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,17 @@
22

33
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44

5-
## Build & Lint
5+
## Build
66

77
```bash
8-
# Validate podspec
9-
pod spec lint GADManager.podspec
10-
11-
# Build via SPM
128
swift build
13-
14-
# CocoaPods install (in consumer projects)
15-
pod install
169
```
1710

1811
## Release Process
1912

20-
1. Bump version in `GADManager.podspec` (`s.version`)
13+
1. Bump version in `Package.swift` (if applicable) and update version references
2114
2. Commit: `bump: release a.b.c`
2215
3. Tag: `git tag a.b.c && git push origin a.b.c`
23-
4. Push podspec: `pod trunk push GADManager.podspec`
2416

2517
## Architecture
2618

@@ -53,8 +45,13 @@ GADManager is a generic Swift library (`GADManager<E>`) that wraps Google Mobile
5345

5446
## Distribution
5547

56-
- **CocoaPods**: `pod 'GADManager'` — depends on `Google-Mobile-Ads-SDK` (static framework)
57-
- **SPM**: `Package.swift` — depends on `swift-package-manager-google-mobile-ads` ≥ 12.6.0
48+
**SPM only** (CocoaPods removed — CocoaPods is deprecated):
49+
50+
```swift
51+
.package(url: "https://github.com/2sem/GADManager.git", from: "1.3.8")
52+
```
53+
54+
Depends on `swift-package-manager-google-mobile-ads` ≥ 12.6.0.
5855

5956
## CI
6057

GADManager.podspec

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

Podfile

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

0 commit comments

Comments
 (0)