i have download mailcore for iphone from https://bitbucket.org/mronge/mailcore/downloads .i have try to build it shows error as
No architectures to compi
For the benefit of other searching:
As of Feb 2013, this is no longer an issue. MailCore download includes all libraries you need.
There are two issues I ran into, though, which sent me searching here for answers...
You have to have the command line tools installed in Xcode to build. The subprojects under MailCore use them to build themselves. Xcode > preferences > downloads > components tab > Command Line tools must say "installed".
Subprojects under MailCore will throw errors about "config.h not found" if your path to MailCore contains a space. I found a closed issue in the github issue discussion stuff abou this. Thus, "/usr/home/me/dev/MailCore" is fine... but "/usr/home/me/dev stuff/MailCore" is not.
For #2, put your MailCore download somewhere where there's no spaces in the path. you can drag the MailCore.xcodeproj into your project to add it no matter where on disk your project is located. Doesn't have to be in the same folder.
From the Getting Started documentation on the project:
IPHONE USE
MailCore has an included iPhone target, but it requires some additional compiled binaries (OpenSSL and CyrusSSL). I am unable to currently provide these, however the company Remail is offering the binaries and a compiled copy of MailCore for the iPhone. Contact Remail for more information:
mailcore@remail.com
It seems like you'd need to get those before building against the iPhone target.