Permalink
Browse files

update Readme for the judges and adjust the Rakefile to only use a pr…

…ovisioning certificate if it actually exists
  • Loading branch information...
1 parent e7d5a59 commit e09b3fe75f57e397e710d0f28282a632ac80b7b7 @davekapp davekapp committed Aug 24, 2012
Showing with 13 additions and 10 deletions.
  1. +13 −10 ios/motiondiner/Rakefile
View
@@ -10,23 +10,26 @@ Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MotionDiner'
- app.codesign_certificate = "iPhone Distribution: David Kapp"
- app.identifier = "com.motiondinerapp.motiondiner"
- app.provisioning_profile = "/Users/davekapp/Library/MobileDevice/Provisioning Profiles/MotionDiner_AdHocc.mobileprovision"
+ provisioning_profile = "/Users/davekapp/Library/MobileDevice/Provisioning Profiles/MotionDiner_AdHocc.mobileprovision"
+ if File.exists?(provisioning_profile)
+ app.codesign_certificate = "iPhone Distribution: David Kapp"
+ app.identifier = "com.motiondinerapp.motiondiner"
+ app.provisioning_profile = provisioning_profile
+
+ app.entitlements["aps-environment"] = "production"
+ app.entitlements["application-identifier"] = "C88DRRM863.com.motiondinerapp.motiondiner"
+ app.entitlements["get-task-allow"] = false
+ app.entitlements["keychain-access-groups"] = [
+ app.seed_id + '.' + app.identifier
+ ]
+ end
app.files_dependencies "app/welcome_view_controller.rb" => "app/diner_view_controller.rb",
"app/welcome_view_controller.rb" => "app/truck_view_controller.rb",
"app/truck_view_controller.rb" => "app/truck.rb"
app.icons = ["Icon.png", "Icon@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png"]
- app.entitlements["aps-environment"] = "production"
- app.entitlements["application-identifier"] = "C88DRRM863.com.motiondinerapp.motiondiner"
- app.entitlements["get-task-allow"] = false
- app.entitlements["keychain-access-groups"] = [
- app.seed_id + '.' + app.identifier
- ]
-
app.testflight.sdk = 'vendor/TestFlight'
app.testflight.api_token = '0d11c8a2d44b12955c72ef06cf8b9a24_NTk0MTIzMjAxMi0wOC0yMyAxMzowNjowNS42NDQ5OTU'
app.testflight.team_token = '05027d9118f0430bb7006b10a1ea6ad1_MTI0NTUyMjAxMi0wOC0yMyAxMzozNjoxNy41OTQ4NjU'

0 comments on commit e09b3fe

Please sign in to comment.