mailcore

来源:互联网 发布:学生体质监测数据上报 编辑:程序博客网 时间:2024/05/17 06:12

IOS 使用 MailCore2

Publish: March 16, 2014 Category: ios/macos 1 Comment

安装

1、从github上拉代码下来:

1
git clone https://github.com/MailCore/mailcore2/

2、添加到你的项目中去:
把 build-mac/mailcore2.xcodeproj 拖进你的项目中去

3、在你项目中链接静态库:
点击项目--TARGETS--Build Phases
1
2
3
4
5
6
7
a、Link Binary With Libraries 添加:
libMailCore-ios.a
CFNetwork.framework
Security.framework
 
b、Target Dependencies 添加:
static mailcore2 ios

4、设置flags:
点击项目--TARGETS--Build Settings
1
2
3
4
5
a、Other Linker Flags 设置:
-luchardet-ios -lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz -lc++ -stdlib=libc++ -ObjC
 
b、C++ Standard Library 设置:
libc++
0 0
原创粉丝点击