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

Kingfisher找不到对应SwiftUI的东西 #1809

Closed
GFredR opened this issue Sep 22, 2021 · 1 comment
Closed

Kingfisher找不到对应SwiftUI的东西 #1809

GFredR opened this issue Sep 22, 2021 · 1 comment

Comments

@GFredR
Copy link

GFredR commented Sep 22, 2021

喵神您好,我更新了Xcode 13和您的最新版本的Kingfisher,但是不是创建的SwiftUI项目,项目报错找不到SwiftUI的相关东西,我导入了SwiftUI但是仍然报错,请问这个是Xcode 13的锅吗
A34439FF-8D17-4C22-8911-07A21B7237DC

@onevcat
Copy link
Owner

onevcat commented Sep 22, 2021

是的!

Duplicated #1802

Xcode 13 Release Notes

Known Issues

Swift libraries may fail to build for iOS targets that use armv7. (74120874)
Workaround: Increase the platform dependency of the package to v12 or later.

Swift libraries depending on Combine may fail to build for targets including armv7 and i386 architectures. (82183186, 82189214)
Workaround: Use an updated version of the library that isn’t impacted (if available) or remove armv7 and i386 support (for > example, increase the deployment target of the library to iOS 11 or higher).

This is not a thing can be fixed easily in a library like Kingfisher. So please try to upgrade to Kingfisher v7 (and consider to drop support under iOS 12).

@onevcat onevcat closed this as completed Sep 22, 2021
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

2 participants