Kitura / Swift-SMTP

Swift SMTP client
Apache License 2.0
262 stars 63 forks source link

Could not find module 'SwiftSMTP' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator #130

Open DoronTorangy opened 2 years ago

DoronTorangy commented 2 years ago

Hey, I'm using this library and it works on a real device. But when I try building for a simulator, I get:

Could not find module 'SwiftSMTP' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/user/Library/Developer/Xcode/DerivedData/myapp-gvdqdjdvdskiwrduhviuliugsnuz/Build/Products/Debug staging-iphonesimulator/SwiftSMTP.swiftmodule

I'm running on Apple silicon M1, Xcode 13.4.1

Any idea how to solve this?

dannys42 commented 2 years ago

I don''t believe this is specific to SwiftSMTP. Perhaps some of these suggestions will help you:

From Apple's developer's forum: https://developer.apple.com/forums/thread/123614

And on Stackoverflow here: https://stackoverflow.com/questions/56957632/could-not-find-module-for-target-x86-64-apple-ios-simulator