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

[Bug] - 'libetpan/libetpan.h' file not found in iOS project #2001

Open
karam28 opened this issue Mar 16, 2024 · 1 comment
Open

[Bug] - 'libetpan/libetpan.h' file not found in iOS project #2001

karam28 opened this issue Mar 16, 2024 · 1 comment
Labels

Comments

@karam28
Copy link

karam28 commented Mar 16, 2024

Summary
I have download your code from github and try to run the iOS app but it's failed with error 'libetpan/libetpan.h' file not found.
Platform(s)

<iOS>

Happens on Mail Server


Piece of code


Actual outcome
MailCore did or did not ...

Connection Logs

failed with error 'libetpan/libetpan.h' file not found.

Expected outcome

Link to sample code on GitHub reproducing the issue (a full Xcode project):

@karam28 karam28 added the bug label Mar 16, 2024
@jsflax
Copy link

jsflax commented Dec 1, 2024

I believe you didn't update your git submodules:

git submodule update --init --recursive

However, if you wish to add the project in a simpler way to your iOS project, 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

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

No branches or pull requests

2 participants