Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Mark Munz
That could get really tricky given the new rules with scripts and sandboxing. The scripts folder cannot be written to by your app (AFAIK, it can only be created and read). App would have to direct the customer to copy in the appropriate script into your script folder. It's about as clunky a process

Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Erik Stainsby
Surely you could make the specific email client a Preference the user sets once, and then handle the act of sending with one menu item? Not any help with the sandbox issue however... Sent from my iCapsule somewhere in orbit On 2012-11-01, at 7:43 AM, Martin Hewitson wrote: > > On Nov 1, 201

Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Martin Hewitson
On Nov 1, 2012, at 3:37 PM, Sean McBride wrote: > On Thu, 1 Nov 2012 05:17:09 +0100, Martin Hewitson said: > >> I did include a description on the resubmit. Seems it didn't help. I wrote: >> >> "I'm using this entitlement to allow the app to send documents by mail >> from within the app. On 10

Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Sean McBride
On Thu, 1 Nov 2012 05:17:09 +0100, Martin Hewitson said: >I did include a description on the resubmit. Seems it didn't help. I wrote: > >"I'm using this entitlement to allow the app to send documents by mail >from within the app. On 10.8 I can use the new >com.apple.security.scripting-targets but

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-31 Thread Martin Hewitson
I did include a description on the resubmit. Seems it didn't help. I wrote: "I'm using this entitlement to allow the app to send documents by mail from within the app. On 10.8 I can use the new com.apple.security.scripting-targets but this isn't available on 10.7, so there I need to use the temp

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-31 Thread Curt Clifton
On Oct 26, 2012, at 10:35 PM, Martin Hewitson wrote: > So, the story's not over. I resubmitted and the app was reviewed quickly, but > rejected again with the same rejection note. So, what now? Not sure how to > figure out my error, other than to pay for DTS... Out of curiosity, when you re

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-29 Thread Martin Hewitson
In case anyone's interested, I tracked down my original source for these entitlement keys: I got this from the WWDC2012 video entitled "The OS X App Sandbox". At time-stamp 39:48 they show a slide which details the new use of access groups and the recommended way of talking between apps in Moun

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-29 Thread Martin Hewitson
On 29, Oct, 2012, at 07:27 PM, "Stephen J. Butler" wrote: > On Mon, Oct 29, 2012 at 12:49 PM, Martin Hewitson > wrote: >> But com.apple.security.scripting-targets is not a temporary entitlement, is >> it? I thought this was the recommended way of communicating between apps in >> the new era.

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-29 Thread Stephen J. Butler
On Mon, Oct 29, 2012 at 12:49 PM, Martin Hewitson wrote: > But com.apple.security.scripting-targets is not a temporary entitlement, is > it? I thought this was the recommended way of communicating between apps in > the new era. But this part clearly is: com.apple.security.temporary-exception

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-29 Thread Martin Hewitson
On 29, Oct, 2012, at 06:41 PM, Jayson Adams wrote: > > On Oct 29, 2012, at 5:07 AM, Martin Hewitson wrote: > >> Humph. So now what do I do? I'd rather not use one of my DTS tickets for >> this, especially as I feel like this should be documented, but maybe I have >> no choice. >> >> Anybody

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-29 Thread Jayson Adams
On Oct 29, 2012, at 5:07 AM, Martin Hewitson wrote: > Humph. So now what do I do? I'd rather not use one of my DTS tickets for > this, especially as I feel like this should be documented, but maybe I have > no choice. > > Anybody have any other guesses why this entitlement entry might be wrong

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-29 Thread Martin Hewitson
Humph. So now what do I do? I'd rather not use one of my DTS tickets for this, especially as I feel like this should be documented, but maybe I have no choice. Anybody have any other guesses why this entitlement entry might be wrong? Thanks, Martin com.apple.security.scripting-targets com.ap

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-27 Thread Shane Stanley
On 27/10/2012, at 5:11 PM, Quincey Morris wrote: > I don't recall if the session has the entitlements needed for your specific > case, but I think it is worth watching. (IIRC it did use Mail as an example > scripting target, so it might well have exactly your answer.) Interestingly the slides

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Quincey Morris
On Oct 26, 2012, at 22:58 , Martin Hewitson wrote: > Am I doing something wrong here in principle? I confess I can't find mention > of these entitlements anywhere on google, nor in the apple documentation. So > I can't reconstruct where I got this from. Have you being following the 'Code signi

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Martin Hewitson
Just some more info, in case it triggers ideas. I use these entries in my entitlements file: com.apple.security.temporary-exception.apple-events com.apple.mail com.apple.security.scripting-targets com.apple.mail com.apple.mail.compose with the aim of composing emails on 10.8,

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Martin Hewitson
So, the story's not over. I resubmitted and the app was reviewed quickly, but rejected again with the same rejection note. So, what now? Not sure how to figure out my error, other than to pay for DTS... Martin On 26, Oct, 2012, at 05:13 PM, Martin Hewitson wrote: > > On 26, Oct, 2012, at

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Alex Zavatone
On Oct 26, 2012, at 11:13 AM, Martin Hewitson wrote: > > On 26, Oct, 2012, at 05:05 PM, Sean McBride wrote: > >> On Thu, 25 Oct 2012 21:23:36 -0700, Seth Willits said: >> The communication between the MAS staff and developers is absolutely >>> shocking. I would go as far as to say it's t

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Martin Hewitson
On 26, Oct, 2012, at 05:05 PM, Sean McBride wrote: > On Thu, 25 Oct 2012 21:23:36 -0700, Seth Willits said: > >>> The communication between the MAS staff and developers is absolutely >> shocking. I would go as far as to say it's the worst I've experienced >> from Apple since I first had dealing

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Martin Hewitson
I have now. Thanks for the link! Martin On 26, Oct, 2012, at 03:37 PM, Chuck Soper wrote: > On 10/25/12 10:28 PM, "Martin Hewitson" wrote: > >> On Oct 26, 2012, at 6:04 AM, Graham Cox wrote: >> >>> >>> On 26/10/2012, at 8:24 AM, Jayson Adams wrote: >>> The catch is that the lovely f

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Sean McBride
On Thu, 25 Oct 2012 21:23:36 -0700, Seth Willits said: >> The communication between the MAS staff and developers is absolutely >shocking. I would go as far as to say it's the worst I've experienced >from Apple since I first had dealings with them in the mid 80s. They >come across as arrogant, "job

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Chuck Soper
On 10/25/12 10:28 PM, "Martin Hewitson" wrote: >On Oct 26, 2012, at 6:04 AM, Graham Cox wrote: > >> >> On 26/10/2012, at 8:24 AM, Jayson Adams wrote: >> >>> The catch is that the lovely folks at the MAS will not actually >>>approve any app that uses these special entitlements. And helpfully,

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Martin Hewitson
On Oct 26, 2012, at 6:04 AM, Graham Cox wrote: > > On 26/10/2012, at 8:24 AM, Jayson Adams wrote: > >> The catch is that the lovely folks at the MAS will not actually approve any >> app that uses these special entitlements. And helpfully, as part of their >> condescending lecture to you, th

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Seth Willits
On Oct 25, 2012, at 9:04 PM, Graham Cox wrote: > The communication between the MAS staff and developers is absolutely > shocking. I would go as far as to say it's the worst I've experienced from > Apple since I first had dealings with them in the mid 80s. They come across > as arrogant, "jobswo

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Graham Cox
On 26/10/2012, at 8:24 AM, Jayson Adams wrote: > The catch is that the lovely folks at the MAS will not actually approve any > app that uses these special entitlements. And helpfully, as part of their > condescending lecture to you, they will refer you to documentation that makes > it sound l

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Kyle Sluder
This left hand/right hand bullshit needs to be fixed yesterday. If MAS gives you a rejection, they need to provide the technical staff who can answer questions about that rejection. In my experience, DTS is unprepared to address MAS policy issues. MAS support doesn't have to write your code for

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Martin Hewitson
It does still work with lower-case 'mail'. So, I will just resubmit with a new entitlements file and see what happens. When I asked the MAS for clarification regarding what was actually wrong with my entitlements file, I was told to contact DTS :/ Thanks all! Martin On Oct 26, 2012, at 12:27

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Kyle Sluder
On Thu, Oct 25, 2012, at 02:06 PM, Alex Zavatone wrote: > Does it still work if you correct the case of the M in com.apple.Mail? Yes, do check this. IIRC we got bitten recently by a case-sensitivity issue with special entitlements. This problem extends beyond MAS submission; there are places in t

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Jayson Adams
On Oct 25, 2012, at 11:46 AM, Martin Hewitson wrote: > I forgot to mention: the entitlement is working as it is. Without it, I can't > send mails from within the app. With the entitlement as written, I can send > mails. > > Wouldn't the mail sending fail (be blocked by app sandbox) if the enti

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Alex Zavatone
Does it still work if you correct the case of the M in com.apple.Mail? On Oct 25, 2012, at 2:46 PM, Martin Hewitson wrote: > I forgot to mention: the entitlement is working as it is. Without it, I can't > send mails from within the app. With the entitlement as written, I can send > mails. > >

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Martin Hewitson
I forgot to mention: the entitlement is working as it is. Without it, I can't send mails from within the app. With the entitlement as written, I can send mails. Wouldn't the mail sending fail (be blocked by app sandbox) if the entitlement was wrong? Thanks, Martin On Oct 25, 2012, at 08:27

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Sean McBride
On Thu, 25 Oct 2012 20:11:39 +0200, Martin Hewitson said: > com.apple.security.temporary-exception.apple-events > >com.apple.mail > > com.apple.security.scripting-targets > > com.apple.Mail I think those are case-sensitive... com.apple.mail vs com.apple.Mail C