Skip to content

Instantly share code, notes, and snippets.

@pollingj
Created March 18, 2014 22:59
Show Gist options
  • Save pollingj/9631632 to your computer and use it in GitHub Desktop.
Save pollingj/9631632 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
require "rubygems"
require 'bundler'
require 'bubble-wrap/media'
Bundler.require
Motion::Project::App.setup do |app|
app.name = "My Project Name"
app.version = '0.3'
app.identifier = 'com.theled.pop'
app.release do
#app.provisioning_profile = "/Users/johnpolling/Library/MobileDevice/Provisioning \Profiles/my_dist.mobileprovision"
#app.codesign_certificate = 'iPhone Distribution: The League of Extraordinary Developers Ltd (XXXXXXXXXX)'
app.entitlements['get-task-allow'] = false
app.entitlements['application_identifier'] = app.seed_id + '.' + app.identifier
app.entitlements['keychain-access-groups'] = [
app.seed_id + '.' + app.identifier
]
end
app.development do
app.seed_id = "PL98L5KLAD"
app.provisioning_profile = "/Users/johnpolling/Library/MobileDevice/Provisioning \Profiles/my_Development.mobileprovision"
app.codesign_certificate = 'iPhone Developer: John Polling (XXXXXXXX)'
app.entitlements['application_identifier'] = app.seed_id + '.' + app.identifier
app.entitlements['keychain-access-groups'] = [
app.seed_id + '.' + app.identifier
]
app.entitlements['get-task-allow'] = true
end
#app.deployment_target = '7.0'
app.frameworks += ['AVFoundation', 'CoreLocation']
app.vendor_project('vendor/push_io/PushIOManager.framework', :static,
:products => ['PushIOManager'],
:headers_dir => 'Headers')
app.files += Dir.glob(File.join(app.project_dir, 'lib/**/*.rb'))
app.info_plist["UIViewControllerBasedStatusBarAppearance"] = false
app.info_plist["UIStatusBarStyle"] = "UIStatusBarStyleBlackOpaque"
app.device_family = :ipad
app.interface_orientations = [:landscape_left, :landscape_right]
app.pods do
pod 'SVProgressHUD'
pod 'RTLabel'
pod 'NSData+MD5Digest'
end
end
task :"build:simulator" => :"schema:build"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment