Skip to content

Instantly share code, notes, and snippets.

Created August 23, 2012 11:19
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
my Rakefile for lastest Rubymotion app
require File.join(File.dirname(__FILE__), 'version')
require 'motion/project'
require 'bundler'
Motion::Project::App.setup do |app| = "MyApp"
app.seed_id = "79HAAR3XXX"
app.identifier = "com.myco.MyApp"
app.prerendered_icon = false
app.codesign_certificate = "iPhone Distribution: MyApp Inc."
app.provisioning_profile = '<my ad hoc distribution profile>'
app.deployment_target = "4.3"
app.sdk_version = "5.1"
app.device_family = :iphone
app.interface_orientations = [:portrait]
app.entitlements['application-identifier'] = "#{app.seed_id}.#{app.identifier}"
app.entitlements['keychain-access-groups'] = ["#{app.seed_id}.#{app.identifier}"]
app.development do
app.entitlements['aps-environment'] = 'development'
app.entitlements['get-task-allow'] = true
app.release do
app.entitlements['aps-environment'] = 'production'
app.entitlements['get-task-allow'] = false
app.frameworks = ["UIKit", "Foundation", "CoreGraphics", 'CoreLocation', 'MapKit', 'QuartzCore']
app.short_version = VERSION.scan(/^\d+\.\d+/).first
app.version = VERSION.scan(/^\d+\.\d+\.(.+)/).flatten.first
# app.vendor_project 'vendor/FPPopover', :static
app.vendor_project 'vendor/CMPopTipView/CMPopTipView', :static
app.pods do
pod 'AFNetworking', '~> 1.0RC1'
pod 'Facebook-iOS-SDK', '~> 1.2'
pod 'MBProgressHUD', '~> 0.5'
pod 'PullToRefresh', '~> 0.0.1'
# pod 'CMPopTipView', '~> 0.0.1'
# dependency 'FPPopoverController'
# TestFlight
app.testflight.sdk = 'vendor/TestFlightSDK'
app.testflight.api_token = 'myAPIKey'
app.testflight.team_token = 'TeamToken'
Copy link

Randuin commented Sep 3, 2012

Were you able to actually get MBProgressHUD working?

Copy link

dentarg commented Jan 24, 2013

I'm curious about VERSION.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment