Kingfisher: Swift Compile Error with Xcode 12

Created on 18 Sep 2020  路  5Comments  路  Source: onevcat/Kingfisher

Issue Description

When build or run the project, I got the error Could not find module 'Kingfisher' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64.

I found the issue is similar to #1514 .

Installed by SPM and Xcode 12 version is 12A7209(official one, not GM)

Most helpful comment

image
@MobileMon

All 5 comments

Also error: Building for iOS Simulator, but the linked framework 'Kingfisher.framework' was built for iOS. if build with carthage.

@vulgur Cannot reproduce it when building with Kingfisher installed by SPM.

Are you trying to work on an ARM Mac (the Developer Transition Kit)?

I resolved this error by setting VALID ARCHS to $(inherited).
璋㈣阿鍠靛ぇ!

Vulgar can you please explain further what you did? I'm having this same issue. Can you post screenshots of your build settings?

image
@MobileMon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iLucas97 picture iLucas97  路  5Comments

SURYAKANTSHARMA picture SURYAKANTSHARMA  路  4Comments

sindresorhus picture sindresorhus  路  3Comments

Minitour picture Minitour  路  4Comments

rainerjungwirth picture rainerjungwirth  路  4Comments