box / box-ios-sdk

iOS SDK for the Box Content API
https://developer.box.com
Apache License 2.0
123 stars 113 forks source link

Adding native visionOS Support. Error compiling #915

Closed BhavinPat closed 7 months ago

BhavinPat commented 8 months ago

Is your feature request related to a problem? Please describe.

When compiling Box SDK for native visionOS specifically in the AnalyticsHeaderGenerator class. There is no statements to handle visionOS os devices.

Describe alternatives you've considered

I have considered creating a fork and updating the code to support visionOS. But I would prefer if you'll be able to update the code.

Attached is a screenshot of the errors in the AnalyticsHeaderGenerator.swift file. There may be more instances in other parts of the Box SDK. But I haven't found them all yet.

Screenshot 2024-02-28 at 1 31 09 PM
arjankowski commented 8 months ago

Hi @BhavinPat, thanks for reporting the issue! I've created a task for the problem you described in our internal Jira(SDK-3661), and we'll address it soon. May I ask how you integrate with our SDK? Is it through SPM, CocoaPods, or perhaps Carthage?

BhavinPat commented 8 months ago

I'm using SPM.

arjankowski commented 7 months ago

Hi @BhavinPat, We have already released a new version of ios sdk ,5.6.0, where we added support for VisionOS. Please let us know if everything works as expected.

Regards, Artur