Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with iOS 16 / Xcode 14 #20

Open
haecksenwerk opened this issue Sep 25, 2022 · 6 comments
Open

Does not work with iOS 16 / Xcode 14 #20

haecksenwerk opened this issue Sep 25, 2022 · 6 comments

Comments

@haecksenwerk
Copy link

After installing the package, cachedAsyncImage is not available. Xcode throws the error:

"Cannot find 'CachedAsyncImage' in scope"

@mobileuidev
Copy link

The library doesn't cache image, it simply doesn't work on iOS 15 and 16

@haecksenwerk
Copy link
Author

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 :)

@ChrisMoffatt
Copy link

@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

@haecksenwerk
Copy link
Author

@ChrisMoffatt, thanks for sharing. Unfortunately, that didn't work for me.

@betapictoris
Copy link

Late reply, but you'll need to import the package into the file's scope:

import CachedAsyncImage

@hbarylskyi
Copy link

You'd also have to add the lbirary in Build Phases -> Link Binary with Libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants