Menu

My SwiftPM Cache Holds 6.3 GB of Sentry. I Link One Product.
📰

My SwiftPM Cache Holds 6.3 GB of Sentry. I Link One Product.

DEV Community: swift·Vladimir Chemeris·about 6 hours ago
#3U6kKP7H
#devtoswift#devto#dev#sentry#package
Reading 0:00
15s threshold

I build StorageRadar, a disk space app for macOS. Everything below uses built-in commands, so you can repeat it without the app.

On 25 October I measured my SwiftPM cache for a guide about deleting it . The artifacts folder held 4.7 GB, and 45 of its 46 entries came from one SDK, sentry-cocoa. I checked the folder again on 16 November:

~/Library/Caches/org.swift.swiftpm/artifacts 25 Oct 16 Nov

Size 4.7 GB 6.3 GB

Entries 46 60

Entries from sentry-cocoa 45 59

Sentry releases 7 9

Two Sentry releases arrived in those three weeks and added 1.6 GB. The oldest entry in the folder dates from 20 October.

My setup: Mac mini M4, macOS 27.2.1, Xcode 27.2, Swift 6.4.2. Sizes come from du .

Nine releases, seven builds each

Sentry publishes prebuilt .xcframework zips on its GitHub releases, and SwiftPM keeps one zip per build: the static Sentry , Sentry-Dynamic , Sentry-WithoutUIKitOrAppKit , and arm64e versions of the last two. Newer releases, 9.19.0 onward in my cache, add two SentryObjC builds.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.