-
-
Save neodevelop/8838126 to your computer and use it in GitHub Desktop.
This file contains 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
$:.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