-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathRakefile
45 lines (40 loc) · 1.35 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
begin
require 'bundler'
Bundler.require
rescue LoadError
end
Motion::Project::App.setup do |app|
app.name = 'Inspect 2014'
app.deployment_target = '7.0'
app.frameworks += %w(MapKit)
app.identifier = 'com.mohawkapps.inspect'
app.version = '2'
app.short_version = '1.0.1'
app.icons = Dir.glob("resources/Icon*.png").map{|icon| icon.split("/").last}
app.prerendered_icon = true
app.pods do
pod 'REFrostedViewController'
pod 'SDWebImage'
pod 'FlurrySDK'
end
app.vendor_project('vendor/MTLabel', :xcode, :target => 'MTLabel', :headers_dir => 'MTLabel')
app.development do
app.entitlements['get-task-allow'] = true
app.seed_id = '7N372VT8HB'
app.identifier = app.seed_id + '.' + app.identifier
app.entitlements['keychain-access-groups'] = [
app.seed_id + '.' + app.identifier
]
app.codesign_certificate = "iPhone Developer: Mark Rickert (YA2VZGDX4S)"
app.provisioning_profile = "../Provisioning/WildcardDevelopment.mobileprovision"
end
app.release do
app.info_plist['AppStoreRelease'] = true
app.entitlements['get-task-allow'] = false
app.codesign_certificate = "iPhone Distribution: Mohawk Apps, LLC (DW9QQZR4ZL)"
app.provisioning_profile = "./provisioning/release.mobileprovision"
end
end