Skip to content

Instantly share code, notes, and snippets.

@neodevelop
Forked from Bodacious/Rakefile
Created Feb 6, 2014
Embed
What would you like to do?
$:.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment