Kitura/Swift-SMTP

Swift-SMTP breaks simulator

Nathipha opened this issue · 2 comments

I followed the instructions provided exactly to add the library to a brand new project (only has a button and an outlet for it) but after running swift package generate-xcodeproj there's now two simulators for each device: e.g. "iPhone SE (12.0)" and "iPhone SE 12.4".

No matter which one I pick the simulator doesn't open anymore.
Building is still successful but the simulator simply doesn't open and I noticed that the "Executable" (Product - Scheme - Edit Scheme - Run - Info) is set to "None" and doesn't give me a "*.app" choice.

Cleaning, restarting,... didn't work and deleting this project and doing it all over again came to the same result. Btw, the simulator works fine in other projects that use CocoaPods with other libraries.

@quanvo87 Any idea what's going on here and how I fix it?

Right now Swift-SMTP only supports Swift packages. Running swift package generate-xcodeproj generates an Xcode project as a package. The simulator won't run for packages. I'm not sure where iOS support is in the pipeline. @djones6

@quanvo87 Thanks for your quick reply!
Oh. How can I test an app with Swift-SMTP without a real device?
Are there any plans on adding support for CocoaPods?