Skip to content

docs(apple): Document NoUIFramework SPM package trait#16820

Open
philprime wants to merge 2 commits intomasterfrom
philprime/spm-package-traits
Open

docs(apple): Document NoUIFramework SPM package trait#16820
philprime wants to merge 2 commits intomasterfrom
philprime/spm-package-traits

Conversation

@philprime
Copy link
Member

@philprime philprime commented Mar 6, 2026

DESCRIBE YOUR PR

Document the new NoUIFramework Swift Package Manager trait added in getsentry/sentry-cocoa#7578. This trait lets compile-from-source users build the Sentry SDK without UIKit or AppKit linkage — useful for command-line tools, headless servers, and other non-UI contexts.

Adds a "Building Without UIKit or AppKit" section to the SPM install page covering:

  • Requirements (Swift 6.1+, Xcode 26.4+)
  • Xcode UI setup (selecting SentrySPM product, enabling the trait)
  • Package.swift configuration with a runnable example
  • Note explaining why SentrySPM (compile-from-source) is needed

Refs getsentry/sentry-cocoa#7578

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Co-Authored-By: Claude noreply@anthropic.com

Add documentation for the new NoUIFramework Swift Package Manager trait
that allows building the Sentry SDK without UIKit or AppKit linkage.
Covers both Xcode UI setup and Package.swift configuration using the
SentrySPM compile-from-source product.

Refs getsentry/sentry-cocoa#7578
Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Mar 9, 2026 0:26am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Mar 9, 2026 0:26am

Request Review

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this.

Specify that the NoUIFramework package trait requires Sentry SDK 9.7.0+
in addition to Swift 6.1+ and Xcode 26.4+. Also combined paragraphs for
better readability.

Refs #16820
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@codeowner-assignment codeowner-assignment bot requested a review from a team March 9, 2026 12:16
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants