onevcat / Kingfisher

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

Undefined symbols for architecture arm64: #2249

Open luyun opened 4 months ago

luyun commented 4 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 3 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.