iosswiftobjective-ckingfisher

Could not find module 'Kingfisher' for target 'x86_64-apple-ios-simulator'


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?


Solution

  • 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