bugsnag / bugsnag-cocoa

BugSnag error monitoring & exception reporter for iOS, macOS, tvOS and watchOS
https://docs.bugsnag.com/platforms/ios
MIT License
235 stars 129 forks source link

Add support for visionOS #1625

Closed bcherry closed 2 months ago

bcherry commented 7 months ago

Goal

Currently you cannot use Bugsnag in a native visionOS app. We'd like to be able to offer a visionOS version of a native iOS app which uses Bugsnag.

Design

I modeled this off the way that tvOS is integrated, for the most part, as a separate framework.

Changeset

Add compiler macros to support visionOS builds. Add visionOS framework target.

Testing

Testing has been lightweight so far, I'd imagine that Bugsnag themselves would like to own serious testing of new platform support.

clr182 commented 7 months ago

Hi @bcherry

Thank you for opening this PR for visionOS support. We do have an item on our backlog aimed at adding this support. When priority allows we will review this PR and look to merge this into our release.

We will be sure to keep you updated with any new information regarding this new platform support.

tomlongridge commented 2 months ago

These changes have now been merged into #1660 to provide some basic support for visionOS in the latest release (v6.29.0). Thanks for your input @bcherry.