onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.
MIT License
23.4k stars 2.66k forks source link

Undefined symbols for architecture arm64: #2249

Open luyun opened 6 months ago

luyun commented 6 months ago

Undefined symbols for architecture arm64: "_swiftgetOpaqueTypeConformance", referenced from: $s10Kingfisher7KFImageV7SwiftUI4ViewAA4BodyAdEPAGWT in libKingfisher.a(KFImage.o) $s10Kingfisher15KFImageRendererV7SwiftUI4ViewAA4BodyAdEPAGWT in libKingfisher.a(KFImage.o) $s10Kingfisher16KFImage_PreviewsV7SwiftUI15PreviewProviderAA0C0AdEP_AD4ViewPWT in libKingfisher.a(KFImage.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Showing Recent Messages Undefined symbol: _swift_getOpaqueTypeConformance

onevcat commented 5 months ago

I guess it is not likely an issue of Kingfisher, but something when you build the libKingfisher.a yourself. I would suggest you check your build settings.

czeludzki commented 1 month ago

hey bro, how did u fix it? Any updates?