I tired to follow these instructions here https://github.com/MailCore/mailcore2/blob/master/build-mac/README.md but I didnt understand or dont know how to implement it in my swift app. I know how to set up the session etc but how to install mailcore2 library onto my app is what im having problems with.
mailcore2 how to implement it in swift
1.1k Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in SWIFT
- Navigate after logged in with webservice
- URLSession requesting JSON array from server not working
- When using onDrag in SwiftUI on Mac how can I detect when the dragged object has been released anywhere?
- Protect OpenAI key using Firebase function
- How to correct error: "Cannot convert value of type 'MyType.Type' to expected argument type 'Binding<MyType>'"?
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Using @Bindable with a Observable type in SwiftUI
- How to make a scroll view of 9 images in a forEach loop open on image 6 if image 6 is clicked on from a grid?
- Using MTLPixelFormat.rgba16Float results in random round-off errors
- Search and highlight text of current text in PDFKit Swift
- How is passing a function as a parameter related to escaping autoclosure?
- Actionable notification api call not working in background
- Custom layout occupies all horizontal space
- Is it possible to fix slow CKAsset loading on Cloudkit?
- Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value - MapView.isMyLocationEnabled
Related Questions in MAILCORE2
- MailCore2 - 'libetpan/libetpan.h' file not found
- MailCore 2 works on simulator but not on device
- Mailcore 2 unable to fetch messages in iOS swift
- What logging does mail core have to help me track down the source of "Domain=MCOErrorDomain Code=3 'Unable to parse response from server.'"
- Mailcore2 "unable to parse response from server" – how can I log the messages to/from the server so I can figure out what isn't parsing?
- How to seperate email body from a rendered thread through IMAP?
- I tried to connect and fetch mails using mailcore2 in iOS. But I got error
- how to fetch emails using Mailcore2 in ios swift?
- MAILCORE2 - A stable connection to the server could not be established
- How to send a reply to an email using MailCore2 in Swift?
- Building Mailcore2 on linux
- Implement MCOHTMLRendererIMAPDelegate in MailCore2 using Swift
- My react native android app got crashed when loggedin user trying to replay any mail for first time using react-native-mailcore library
- How to pass data from block in one view controller to another
- Check if connection for imapsession is established
Related Questions in MAILCORE
- MailCore2 - 'libetpan/libetpan.h' file not found
- MailCore 2 works on simulator but not on device
- Building Mailcore2 on linux
- My react native android app got crashed when loggedin user trying to replay any mail for first time using react-native-mailcore library
- Unable to retrieve extra headers - Mailcore
- How to fetch the inbox from email agent in swift/objective c using mailcore framework or Any framework?
- mailcore2 how to implement it in swift
- can't get header subject using POPFetchHeaderOperation
- mailcore2 163.com/126.com NO SELECT The login is not safe
- MailCore / MailCore2 library not loaded - Failed IPv6 compatibility - Swift
- Swift: Getting error "A stable connection to the server could not be established."
- Why In Mailcore2 Sample the 'MCOMessageView' file is a c++ file instead of objective c one?
- Unable to signin gmail without password
- [IOS ]archiving MCOMessageBuilder objects
- Ios Mailcore canopenurl
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
One of the things that worked for me without pods nor carthage was to download the mailcore2 library and copy the whole mailcore2 folder to the project folder. then follow this steps:
Go to Build Phases from your build target, and under 'Link Binary With Libraries',
Set 'Other Linker Flags' under Build Settings: -lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz -lc++ -lresolv -stdlib=libc++ -ObjC
Make sure to use LLVM C++ standard library. Open Build Settings, scroll down to 'C++ Standard Library', and select libc++.
In Build Phases, add a Target Dependency of static mailcore2 ios.
For Swift - If you are using Mailcore in a Swift project you also need to complete the following steps: * Create a new header file in your project and name it Project-Name-Bridging-Header.h. * Remove any template code from the file and add #import * In your target settings search for Objective-c Bridging Header and add a link to your bridging header. (Project-Name-Bridging-Header.h) * You do not need to import Mailcore in any of your classes as the bridging header takes care of this automatically.