Created
March 21, 2013 19:23
-
-
Save fearoffish/5215875 to your computer and use it in GitHub Desktop.
Using the Sphero iOS SDK with RubyMotion
This file contains hidden or 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
# 1 Copy the .framework files to your vendor folder e.g. vendor/RobotUIKit.framework | |
# 2 Copy the .bundle file to your resources folder e.g. resources/RobotUIKit.bundle | |
# 3 Add this to your Rakefile | |
app.libs << "-lstdc++ -all_load -ObjC -lsqlite3" | |
app.frameworks << 'ExternalAccessory' | |
app.frameworks << 'CoreMotion' | |
app.vendor_project('vendor/RobotUIKit.framework', :static, | |
:products => ['RobotUIKit'], | |
:headers_dir => 'Headers') | |
app.vendor_project('vendor/RobotKit.framework', :static, | |
:products => ['RobotKit'], | |
:headers_dir => 'Headers') | |
app.info_plist['UISupportedExternalAccessoryProtocols'] = ['com.orbotix.robotprotocol'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment