HipByte / motion-testflight

BSD 2-Clause "Simplified" License
56 stars 22 forks source link

Should respect the "release" settings in Rakefile #3

Open macfanatic opened 12 years ago

macfanatic commented 12 years ago

I should be able to specify my settings in a release block inside the Rakefile and have testflight pull those settings instead of development for distributing builds.

I see the counter argument to this, but in reality our testers won't be installing development profiles, so why not use release & distribute ad-hoc like testflight recommends.

https://gist.github.com/3071362

pgib commented 11 years ago

I think I'm having a similar issue. I'm trying to run:

rake testflight mode=release notes="Release build"

And then getting:

'Invalid Profile: distribution build entitlements must have get-task-allow set to false.'

Even though I have:

app.release do
  app.entitlements['aps-environment'] = 'distribution'
  app.entitlements['get-task-allow']  = false
  app.codesign_certificate = 'iPhone Distribution: xxxxxxxxx'
  app.provisioning_profile = '/path/to/Adhoc.mobileprovision'
end                                                                                                                                                            

o_O

dentarg commented 11 years ago

+1