Re: Setting a ResourceManager file as not exectuable
Re: Setting a ResourceManager file as not exectuable
- Subject: Re: Setting a ResourceManager file as not exectuable
- From: Chris Espinosa <email@hidden>
- Date: Fri, 20 Jan 2006 14:31:53 -0800
On Jan 20, 2006, at 1:26 PM, Lyndsey Ferguson wrote:
I have three targets that generate ResourceManager files. But I see
that these files show as executables and sometimes, when I select
my Target (the application) and the configuration (Debug), the
resource files are selected as the executable and when I click
"Build and Debug", Xcode tries to run these files.
How do I take these files out of the Executables group?
You can't; but you can create a "custom executable" for that target
and set it to be the default. The custom executable could be /usr/
bin/echo, for example.
If you don't mind voiding the warranty on your project file [ :-) ],
you can do the following (after quitting Xcode):
1) Select the project's .xcodeproj file in the Finder
2) Control-click on the project and choose Show Package Contents
3) Drag the "project.pbxproj" file and drop it onto TextEdit
4) Search for "productReference" and find the instance that bears the
name of the Resource target
5) Delete the line defining "productReference = <some long hex
number> /* Your target name */"
6) Save the project.pbxproj file
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