Skip to content

fix: embed watchOS sample frameworks - #8584

Merged
denrase merged 2 commits into
mainfrom
fix/watchos-sample-app
Jul 30, 2026
Merged

fix: embed watchOS sample frameworks#8584
denrase merged 2 commits into
mainfrom
fix/watchos-sample-app

Conversation

@denrase

@denrase denrase commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

#skip-changelog

📜 Description

Embed Sentry.framework and SentrySampleShared.framework in the generated watchOS extension.

This prevents the sample from crashing outside Xcode with:

Library not loaded: @rpath/Sentry.framework/Sentry

💡 Motivation and Context

Closes #8583

💚 How did you test it?

Run sample app without debugger attached.

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • If I added a new public API, I also added it to the SentryObjC wrapper.

Embed Sentry.framework and SentrySampleShared.framework in the generated watchOS extension.

This prevents the sample from crashing outside Xcode with:

```text
Library not loaded: @rpath/Sentry.framework/Sentry
```
@denrase denrase added the ready-to-merge (deprecated) Use run-full-ci instead. label Jul 28, 2026
@denrase
denrase marked this pull request as ready for review July 28, 2026 13:35
@denrase
denrase enabled auto-merge (squash) July 29, 2026 14:59
@itaybre itaybre added the run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request label Jul 30, 2026
@sentry

sentry Bot commented Jul 30, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
SDK-Size io.sentry.sample.SDK-Size 9.24.0 (1) Release

⚙️ sentry-cocoa Build Distribution Settings

@denrase
denrase merged commit f3c13a9 into main Jul 30, 2026
257 of 280 checks passed
@denrase
denrase deleted the fix/watchos-sample-app branch July 30, 2026 14:50
philprime pushed a commit that referenced this pull request Jul 30, 2026
Embed Sentry.framework and SentrySampleShared.framework in the generated watchOS extension.

This prevents the sample from crashing outside Xcode with:

```text
Library not loaded: @rpath/Sentry.framework/Sentry
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved ready-to-merge (deprecated) Use run-full-ci instead. run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix watchOS sample framework embedding

3 participants