Skip to content

Instantly share code, notes, and snippets.

@Bodacious
Created August 23, 2012 11:19
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Bodacious/3435693 to your computer and use it in GitHub Desktop.
Save Bodacious/3435693 to your computer and use it in GitHub Desktop.
my Rakefile for lastest Rubymotion app
$:.unshift("/Library/RubyMotion/lib")
require File.join(File.dirname(__FILE__), 'version')
require 'motion/project'
require 'bundler'
Bundler.require
Motion::Project::App.setup do |app|
app.name = "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
end
app.release do
app.entitlements['aps-environment'] = 'production'
app.entitlements['get-task-allow'] = false
end
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'
end
# TestFlight
app.testflight.sdk = 'vendor/TestFlightSDK'
app.testflight.api_token = 'myAPIKey'
app.testflight.team_token = 'TeamToken'
end
@Randuin
Copy link

Randuin commented Sep 3, 2012

Were you able to actually get MBProgressHUD working?

@dentarg
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