Skip to content

Issues using the Sentry package #130

@kabiroberai

Description

@kabiroberai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions