getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
806 stars 317 forks source link

VisionPro can't use trace #4470

Open koi646 opened 1 week ago

koi646 commented 1 week ago

Platform

visionOS

Environment

Develop

Installed

Swift Package Manager

Version

8.38

Xcode Version

16.0

Did it work on previous versions?

No response

Steps to Reproduce

  1. install sentry-cocoa
        SentrySDK.start { options in
            options.dsn = "xxx"
            options.debug = false // Enabling debug when first installing is always helpful
            options.tracesSampleRate = 1.0
            options.environment = "dev"
        }
  2. sent request to nodejs server(nodejs server use sentry too)

Expected Result

visionpro -> nodejs trace work fine

Actual Result

visionPro and nodejs can't show trace info, i print http headers Image

when i remove visionPro sentry, nodejs trace can show

Are you willing to submit a PR?

No response

philipphofmann commented 1 week ago

@koi646, does this work for you on any other Apple platform? Is it only not working on visionOS?