Skip to content

Commit f3c13a9

Browse files
authored
fix: embed watchOS sample frameworks (#8584)
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 ```
1 parent f08b946 commit f3c13a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Samples/watchOS-Swift/watchOS-Swift.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ targets:
8282
- "**/.gitkeep"
8383
dependencies:
8484
- target: Sentry/Sentry
85+
embed: true
8586
- target: SentrySampleShared/SentrySampleShared
87+
embed: true
8688
configFiles:
8789
Debug: Extension/Configurations/watchOS-Swift-Extension.xcconfig
8890
Release: Extension/Configurations/watchOS-Swift-Extension.xcconfig

0 commit comments

Comments
 (0)