-
Notifications
You must be signed in to change notification settings - Fork 634
repackage files for ios #2010
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
Comments
I have filed a pull request to have SPM build from source: #2011 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... |
Thank you @jsflax for the commit. I spent days chasing missing header files before taking your forked branch. I was unable to build on iOS even though the initial MacOS build has little or no issues. Your solution solved the initial build blockers. |
Hello @jsflax, I am using your https://github.com/jsflax/mailcore2/ as a package in my swift app that works perfectly on a simulator but it crashes on real device, can you guide me how can i fix it. Currently i am getting
I am looking forward to your reply. It will be a great help. Thanks |
What line is it crashing on? Are you able to use swift concurrency (async/await)? That would simplify your threading logic. |
It is crashing on |
@hussnainahmaddd It would help to see the full stack trace. @gamifyscience mentioned isolation issues which could be causing this, though I'm not sure why building with SPM would cause this versus building another way. That said, I'm happy to help debug it. |
Hello @jsflax , i am not able to get full stack trace aswell and its not even throwing this crash on crashlytics. Is there anyway we can connect or Can you perhaps guide me through how i can use your repo as package. may be i missed something. |
Hello @jsflax , These are the stack trace |
|
@hussnainahmaddd did you set VoIP off for macOS or iOS? I believe it should be false for macOS. |
for ios |
following up on this thread - I landed at the same place with the crashes on iOS. VoIP enabled was the root cause. I recommend starting there for any iOS apps. |
I modified code in mailcore2 How do I repackage files for ios,Thanks.
The text was updated successfully, but these errors were encountered: