-
-
Save mkdynamic/4425691 to your computer and use it in GitHub Desktop.
Including MailCore for RubyMotion project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
$:.unshift("/Library/RubyMotion/lib") | |
require 'motion/project' | |
Motion::Project::App.setup do |app| | |
# Use `rake config' to see complete project settings. | |
app.name = 'HelloMailCore' | |
# Configure MailCore | |
app.vendor_project("vendor/MailCore", :xcode, :headers_dir => "{../include,libetpan/build-mac/.build/include/libetpan}", :target => "MailCore iOS") | |
app.frameworks << "CFNetwork" | |
app.libs << "/usr/lib/libiconv.dylib" | |
app.libs << "vendor/MailCore/iOSPorts/ports/security/cyrus-sasl/.build/libsasl2.a" | |
app.libs << "vendor/MailCore/iOSPorts/ports/security/openssl/.build/libcrypto.a" | |
app.libs << "vendor/MailCore/iOSPorts/ports/security/openssl/.build/libssl.a" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps I took, from RubyMotion project directory: