• 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: music.read-only sandbox entitlement doesn't seem to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: music.read-only sandbox entitlement doesn't seem to work


  • Subject: Re: music.read-only sandbox entitlement doesn't seem to work
  • From: Michael Nickerson <email@hidden>
  • Date: Mon, 09 Jan 2012 14:46:03 -0500

On Jan 09, 2012, at 12:52 PM, Michael Crawford wrote:

> I'm converting over a legacy Core-Audio application to run sandboxed.  This app normally access files in the iTunes library in order to analyze them for BPM information.  Enabling the music.read-only entitlement does not work.
>
> 	com.apple.security.assets.music.read-only
>
> I get the following error:
>
> 	deny file-read-data /Users/smj/Music/iTunes/iTunes Music/Depeche Mode/Violator/01 World In My Eyes.mp3
>
> I have been able to overcome this problem by adding the temporary exception to perform relative reads from the users home directory using this path:
>
> 	/Music/iTunes/iTunes Music/
>


I don't have a solution for you, but I wanted to point out that even using temporary exceptions won't work for everyone - you can change iTune's music library to some other path within iTunes.


--------------------------------------
Darkshadow
(aka Michael Nickerson)
http://www.nightproductions.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >music.read-only sandbox entitlement doesn't seem to work (From: Michael Crawford <email@hidden>)

  • Prev by Date: Core Data ignoring validation constraint
  • Next by Date: Maintaining Image for a UIButton
  • Previous by thread: music.read-only sandbox entitlement doesn't seem to work
  • Next by thread: Re: music.read-only sandbox entitlement doesn't seem to work
  • Index(es):
    • Date
    • Thread