Does not work with iOS 16 / Xcode 14
haecksenwerk opened this issue · comments
After installing the package, cachedAsyncImage is not available. Xcode throws the error:
"Cannot find 'CachedAsyncImage' in scope"
The library doesn't cache image, it simply doesn't work on iOS 15 and 16
The library doesn't cache image, it simply doesn't work on iOS 15 and 16
Well, in general, CachedAsyncImage works perfectly fine with iOS 16 when I pull in the source code directly into my project. I think that the issue that I've described is rather related to the package that presumably simply needs a platform target update (as far as I can tell as a swift rookie :)
@haecksenwerk I had an issue with this as well, In Xcode try, File > Packages -> Reset Package Caches
This worked for me and everything was able to build again
@ChrisMoffatt, thanks for sharing. Unfortunately, that didn't work for me.
Late reply, but you'll need to import the package into the file's scope:
import CachedAsyncImage
You'd also have to add the lbirary in Build Phases -> Link Binary with Libraries