I would like to use MailCore in a cocoa app.
I built the static library and I imported using fxgen.
These are the build instructions
For Mac - If you’re building for Mac, you can either link against MailCore 2 as a framework, or as a static library:
Go to Build Phases from your build target, and under ‘Link Binary With Libraries’,
add libMailCore.a and Security.framework.Set
‘Other Linker Flags’ under Build Settings: -luchardet -lctemplate -letpan -lxml2 -lsasl2 -liconv -ltidy -lz -lc++ -stdlib=libc++ -ObjC -lcrypto -lssl
Make sure to use LLVM C++ standard library.
In Build Settings, locate ‘C++ Standard Library’, and select libc++.In Build Phases, add a Target Dependency of static mailcore2 osx.
What should I be doing about the other linker flag instructions and build settings ?
Cheers,
John