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

Having issues adding MailCore2 via SPM to iOS project #2003

Open
cenisuru opened this issue Apr 1, 2024 · 2 comments
Open

Having issues adding MailCore2 via SPM to iOS project #2003

cenisuru opened this issue Apr 1, 2024 · 2 comments

Comments

@cenisuru
Copy link

cenisuru commented Apr 1, 2024

Hello,

I'm trying to add MailCore2 to a SwiftUI project on Xcode 15 using Swift Package Manager. I followed the instructions in the wiki.

However when I import MailCore2 inside the project, I get the No such module 'MailCore2' error.

Has anyone faced this when adding the project using SPM? Any ideas on how to resolve this?

@jsflax
Copy link

jsflax commented Dec 1, 2024

I have filed a pull request to have SPM build from source: #2011. It no longer uses a binary and you should no longer face the issue you are facing.

If you wish to use the new Package, please use https://github.com/jsflax/mailcore2/ as your Swift Package dependency:

In Xcode click File -> Swift Packages -> Add Package Dependency...
Paste the following URL: https://github.com/jsflax/mailcore2
On the Choose Package Options screen, under Rules switch from Version to Branch (Branch: master) will be the default
Click Next -> Next -> Finish

@cenisuru
Copy link
Author

cenisuru commented Dec 2, 2024

@jsflax Thanks so much, Jason! I'll use your fork. Unfortunately this project seems kind of abandoned now. Hopefully your changes will get merged as soon as possible.

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