dmytro-anokhin / url-image

AsyncImage before iOS 15. Lightweight, pure SwiftUI Image view, that displays an image downloaded from URL, with auxiliary views and local cache.
MIT License
1.1k stars 96 forks source link

Please add support for M1 Macs #164

Closed artur-marchetto closed 2 years ago

dmytro-anokhin commented 2 years ago

Hello, URLImage is shipped as a source code, not a binary, and can be compiled for any Mac. This is up to you to compile it for M1.

artur-marchetto commented 2 years ago

Hello, URLImage is shipped as a source code, not a binary, and can be compiled for any Mac. This is up to you to compile it for M1.

Well you have to open Xcode "Using Rosetta" I found out. otherwise it wouldn't work. With cocoa pods it'd work but with SPM no. that's because with cocoapods, having access to the target in xcode you could set a flag that would make it work. Excluding architecture arm64. you can mark this is as closed if you wish.

dmytro-anokhin commented 2 years ago

Unfortunately I can not verify and there are no details in the issue description. If you think there is a bug in the package - please create a new bug report and make sure to fill in the template.