Skip to content
This repository

Allow get-task-allow to be false #39

Merged
merged 1 commit into from over 1 year ago

5 participants

Andreas Laurent Sansonetti HLGgithub Jamon Holmgren Patrick Gibson
Andreas

Previously, get-task-allow could not be set to false due to the ||=-operator, which overrides a setting of false. This is very unhandy e.g. for TestFlight.

Andreas get-task-allow can be set to false.
Previously, get-task-allow could not be set to false due to the "||="-operator. This is very unhandy e.g. for TestFlight.
85dbad5
Patrick Gibson

Is there any work-around in the meantime?

Andreas

I've applied the changes in this pull request to my local version of RubyMotion as per the instructions in the repo (https://github.com/HipByte/RubyMotion). Then you can set get-task-allow to false again.

Laurent Sansonetti
Owner

Thanks, we will ship the following update with this fix. Also, I believe the motion-testflight gem should be updated to remove the default get-task-allow entitlement when doing a build.

Laurent Sansonetti lrz merged commit d6f37b0 into from September 26, 2012
Laurent Sansonetti lrz closed this September 26, 2012
HLGgithub

Would you be able to post some sample code on how to set get-task-allow to false in the rakefile?

Jamon Holmgren
    app.entitlements['get-task-allow']         = false
HLGgithub

Thanks Jamon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Sep 21, 2012
Andreas get-task-allow can be set to false.
Previously, get-task-allow could not be set to false due to the "||="-operator. This is very unhandy e.g. for TestFlight.
85dbad5
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/motion/project/config.rb
2  lib/motion/project/config.rb
@@ -664,7 +664,7 @@ def entitlements_data
664 664
         dict['application-identifier'] ||= seed_id + '.' + identifier
665 665
       else
666 666
         # Required for gdb.
667  
-        dict['get-task-allow'] ||= true
  667
+        dict['get-task-allow'] = true if dict['get-task-allow'].nil?
668 668
       end
669 669
       Motion::PropertyList.to_s(dict)
670 670
     end
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.