Description
A few bugs using Sentry, as of sentry-cocoa@v8.53.0:
- Can't depend on
Sentry-Dynamic
- the xcframework is
Sentry-Dynamic.xcframework but the folders inside it are Sentry.framework. xtool breaks because it looks for the former name.
- SourceKit-LSP breaks when depending on either
Sentry or Sentry-Dynamic
- This might be an upstream bug. It chokes on the
import Sentry line.
- xtool assumes
Sentry (non-dynamic) is a dynamic framework
- It's actually a fat static Mach-O (which is to say,
CAFEBABE and individual slices are !<arch>)
- We only look for the static library magic. We should also entertain a FAT magic where the individual slices are static.
Environment
Host OS (macOS/Linux/WSL): Linux
Host OS version: Ubuntu 24.04
iOS device version: iOS 18.5
Swift version: Swift 6.2
SDK version: iPhoneOS18.5.sdk
Description
A few bugs using Sentry, as of
sentry-cocoa@v8.53.0:Sentry-DynamicSentry-Dynamic.xcframeworkbut the folders inside it areSentry.framework. xtool breaks because it looks for the former name.SentryorSentry-Dynamicimport Sentryline.Sentry(non-dynamic) is a dynamic frameworkCAFEBABEand individual slices are!<arch>)Environment
Host OS (macOS/Linux/WSL): Linux
Host OS version: Ubuntu 24.04
iOS device version: iOS 18.5
Swift version: Swift 6.2
SDK version: iPhoneOS18.5.sdk