-1

i add arm64 to my Excluded Architectures because i have pod and that works with this,this picture... after i added Kingfisher swift package manager, when i import that i receive this error

Could not find module 'Kingfisher' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/amin/Library/Developer/Xcode/DerivedData/MKAMovies-dlhggzhzyxovkxfddvoeqlirqfxi/Build/Products/Debug-iphonesimulator/Kingfisher.swiftmodule

how can i fix that?

Asperi
  • 228,894
  • 20
  • 464
  • 690
a.rz
  • 11
  • 7
  • Does this answer your question? [Xcode building for iOS Simulator, but linking in an object file built for iOS, for architecture 'arm64'](https://stackoverflow.com/questions/63607158/xcode-building-for-ios-simulator-but-linking-in-an-object-file-built-for-ios-f) – timbre timbre Jul 02 '22 at 23:33
  • Referenced question explains why this may happen. For example maybe you forgot to exclude on Pods project – timbre timbre Jul 02 '22 at 23:34
  • @jjquirckart no i tried that answers but my error still is showing, my problem is my pod works with arm64, and my package manager(kingfisher) works with x86_64 – a.rz Jul 03 '22 at 08:28

1 Answers1

-1

if you installed your pod using:

arch -x86_64 pod install

you should change it to:

pod install

after doing that you don not need to change your Excluded Architecture to arm64

Amin Rezaew
  • 298
  • 1
  • 14