• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Requesting help with sandboxing questions please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting help with sandboxing questions please


  • Subject: Re: Requesting help with sandboxing questions please
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 30 Aug 2014 23:23:39 +1000

G'day Rob, and thank you.

At the moment, I've got my App running OK with the entitlement    com.apple.security.temporary-exception.apple-events set to com.apple.finder.

Are you saying that this won't pass the Mac App Store review procedure? I'm only asking because I've got another app in the works that needs to address iTunes. I can use your procedure to read and write my .plist files within the sandbox for both apps, but while my present app only needs to read/write .plist's, my second won't work without iTunes access.

Is this a no no?

Regards

Santa


On 30/08/2014, at 9:25 PM, Robert DuToit <email@hidden> wrote:

Woops,

hit send button by mistake… meant to finish that:

set DocFoldPath top path to Documents folder  ( >> Macintosh HD:Users:Rob:Library:Containers:com.robdutoit.testApp:Data:Documents:
set DocList to list folder DocFoldPath
set posPath to ((posix path of DocFoldPath)&”/test.txt”) as string
do shell script (“Date > “& quoted form of posPath)

So you can use applescript commands within your container without throwing sandbox error. Reviewers should be ok with that.

As long as you don’t go through apple events to other apps like “finder”

You may still need to use an OBJc class for writing to a plist or at least use the applescriptObjectiveC bridge to it.

Cheers,  Rob


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Requesting help with sandboxing questions please
      • From: Robert DuToit <email@hidden>
References: 
 >Re: Requesting help with sandboxing questions please (From: Robert DuToit <email@hidden>)

  • Prev by Date: Re: Requesting help with sandboxing questions please
  • Next by Date: Re: Requesting help with sandboxing questions please
  • Previous by thread: Re: Requesting help with sandboxing questions please
  • Next by thread: Re: Requesting help with sandboxing questions please
  • Index(es):
    • Date
    • Thread