Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift-SMTP breaks simulator #102

Open
Nathipha opened this issue Jul 30, 2019 · 2 comments
Open

Swift-SMTP breaks simulator #102

Nathipha opened this issue Jul 30, 2019 · 2 comments

Comments

@Nathipha
Copy link

Nathipha commented Jul 30, 2019

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?

@quanvo87
Copy link
Collaborator

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

@Nathipha
Copy link
Author

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants