Could not find module 'SwiftSMTP' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator
DoronTorangy opened this issue · comments
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?
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