SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.1k stars 216 forks source link

visionOS support #273

Closed kevinwang-oversoul closed 10 months ago

kevinwang-oversoul commented 11 months ago

Hi,

Is there any plan to support visionOS platform? Many concepts don't transfer to visionOS such as UIScreen, so it's impossible to build on visionOS at the moment.

I see there are 2 PRs relating to this issue, but they are paused for some reason. Could you confirm the status please @dreampiggy ?

https://github.com/SDWebImage/SDWebImage/pull/3556 https://github.com/SDWebImage/SDWebImageSwiftUI/pull/267

dreampiggy commented 10 months ago

The full support need Package Manager , which means, CocoaPods and SwiftPM

Both these tools need release their version. Or you can just do something like me, to use prebuilt binary of SDWebImage and integrate to your visionOS App.

dreampiggy commented 10 months ago

Release v3.0.0-beta, support build for visionOS (without CocoaPods)

https://github.com/SDWebImage/SDWebImageSwiftUI/releases/tag/3.0.0-beta

You can only use Xcode's dependency package, or build using the manual steps from readme, to integrate and test on your visionOS App.

thatvirtualboy commented 6 months ago

To use SDWebImageSwiftUI with VisionOS, do we just change the Dependency to use Exact Version of 3.0.0? Thanks!

dreampiggy commented 6 months ago

Use beta version just OK