aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Hoa V. Dinh <dvh@google.com>2013-06-17 13:39:36 -0700
committerGravatar Hoa V. Dinh <dvh@google.com>2013-06-17 13:39:51 -0700
commitabbb6043281b3eecf3ccfff8ff7151849b253aca (patch)
tree1e3d07cdeb96906ffd351317dcf3042fe496f242 /README.md
parentafab116499d85750b5f26bec8332eebe9d533a31 (diff)
Add a note about migration from MailCore1
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index b78cc016..87b3946b 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,10 @@ MailCore 2 provides a simple and asynchronous Objective-C API to work with the e
## Installation ##
-1. Checkout MailCore2 into a directory relative to your project.
-2. Under the `build-mac` directory, locate the `mailcore2.xcodeproj` file, and drag this into your Xcode project.
-3. **For Mac** - If you're building for Mac, you can either link against MailCore 2 as a framework, or as a static library:
+1. If you're migrating from MailCore1, you should first clean your build folder.
+2. Checkout MailCore2 into a directory relative to your project.
+3. Under the `build-mac` directory, locate the `mailcore2.xcodeproj` file, and drag this into your Xcode project.
+4. **For Mac** - If you're building for Mac, you can either link against MailCore 2 as a framework, or as a static library:
* Mac framework
- Go to Build Phases from your build target, and under 'Link Binary With Libraries', add `MailCore.framework`.
- Make sure to use LLVM C++ standard library. Open Build Settings, scroll down to 'C++ Standard Library', and select `libc++`.
@@ -22,13 +23,13 @@ MailCore 2 provides a simple and asynchronous Objective-C API to work with the e
- Set 'Other Linker Flags' under Build Settings: `-lctemplate -letpan -licudata -licui18n -licuuc -lxml2 -lsasl2 -liconv -ltidy -lc++ -all_load`
- 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`.
-4. **For iOS** - If you're targeting iOS, you have to link against MailCore 2 as a static library:
+5. **For iOS** - If you're targeting iOS, you have to link against MailCore 2 as a static library:
* Add `libMailCore-ios.a`
* Add `CFNetwork.framework`
* Set 'Other Linker Flags': `-lctemplate-ios -letpan-ios -licudata -licui18n -licuuc -lxml2 -lsasl2 -liconv -ltidy -lstdc++ -all_load`
* Make sure to use GNU C++ standard library. In Build Settings, locate 'C++ Standard Library', and select `libstdc++`.
* In Build Phases, add a Target Dependency of `static mailcore2 ios`.
-5. Profit.
+6. Profit.
Here's a video that shows all the steps for iOS:
http://www.youtube.com/watch?v=9fAo6oBzlQI