Re: Setting Permissions On Resources
Re: Setting Permissions On Resources
- Subject: Re: Setting Permissions On Resources
- From: Chris Espinosa <email@hidden>
- Date: Fri, 22 Jun 2007 14:21:40 -0700
On Jun 22, 2007, at 2:10 PM, Fritz Anderson wrote:
Is there a way to have Xcode set appropriate permissions on the
resources of an app when it copies them to the app bundle?
Are the settings you see when you type "permission" into the Project
or Target Info/Build pane helpful? (It's possible they are not; I've
never applied them as you suggest.)
I believe you have to select "Deployment Postprocessing" for this to
work on other than an "xcodebuild install" build. I wouldn't
recommend postprocessing on a Debug configuration.
Both the Install Permissions and the Alternate Install Permissions
only act on executables, not on resources. If you want to hack the
permissions of resources that are copied in a Copy Bundle Resources
build phase you need to add a Run Script Build Phase to do so.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden