Commit 7e84b40
chore: make SPM the only Apple sample and remove cocoapods tooling
Phase 2 of the spm4Kmp migration. The SDK no longer uses the Kotlin
CocoaPods plugin, so the CocoaPods sample and the internal CocoaPods build
tooling are now dead and the SPM sample becomes the sole Apple sample.
- Makefile buildAppleSamples now xcodebuilds the SPM sample
(kmp-app-spm/iosApp.xcodeproj) and drops podInstall/pod update; CI
inherits this via `make buildAppleSamples`
- Remove the kmp-app-cocoapods sample (settings include, .run configs) and
repoint kmp-app-spm:desktopApp to the SPM shared module
- Delete the SDK sentry_kotlin_multiplatform.podspec and the now-unused
native.cocoapods plugin entry (root build.gradle.kts + Config.cocoapods)
- Rewrite scripts/update-cocoa.sh to bump Config.kt, the plugin
gradle.properties, and the SPM sample SwiftPM pin (project.pbxproj), then
refresh Package.resolved via xcodebuild -resolvePackageDependencies
- Point scripts/bump-version.sh at Config.kt for the Cocoa compat version
(podspec is gone) and narrow the sample prepare scripts to kmp-app-spm
Consumer-facing Gradle plugin CocoaPods support (installSentryForCocoapods,
CocoapodsAutoInstallExtension, CocoaFrameworkLinker) is untouched.
Verified: SPM sample iOS xcodebuild BUILD SUCCEEDED, ./gradlew build
-p sentry-samples, spotless/detekt/apiCheck green, update-cocoa.sh get-version.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent f7815e2 commit 7e84b40
50 files changed
Lines changed: 34 additions & 1633 deletions
File tree
- .run
- buildSrc/src/main/java
- scripts
- sentry-kotlin-multiplatform
- sentry-samples
- kmp-app-cocoapods
- androidApp
- src/main
- java/sample/kmp/app/android
- res
- layout
- raw
- values
- desktopApp
- src/jvmMain/kotlin/sample.kmp.app.desktop
- iosApp
- iosApp.xcodeproj
- iosApp.xcworkspace
- iosApp
- Assets.xcassets
- AccentColor.colorset
- AppIcon.appiconset
- Preview Content/Preview Assets.xcassets
- kmp-app-spm
- desktopApp
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | 16 | | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 29 | | |
38 | 30 | | |
39 | 31 | | |
| |||
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
45 | | - | |
46 | | - | |
| 37 | + | |
| 38 | + | |
47 | 39 | | |
48 | 40 | | |
49 | 41 | | |
50 | | - | |
51 | | - | |
| 42 | + | |
52 | 43 | | |
53 | 44 | | |
54 | 45 | | |
| |||
63 | 54 | | |
64 | 55 | | |
65 | 56 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 57 | | |
71 | 58 | | |
72 | 59 | | |
73 | 60 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
81 | 64 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
85 | 69 | | |
86 | 70 | | |
87 | 71 | | |
88 | 72 | | |
89 | 73 | | |
90 | | - | |
| 74 | + | |
Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 0 additions & 73 deletions
This file was deleted.
Binary file not shown.
0 commit comments