• 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: Setting a ResourceManager file as not exectuable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting a ResourceManager file as not exectuable (From: Lyndsey Ferguson <email@hidden>)

  • Prev by Date: Re: GCC for i386 allows 'invalid suffix "f" on integer constant'
  • Next by Date: What changes to the project does it want to save?
  • Previous by thread: Setting a ResourceManager file as not exectuable
  • Next by thread: Re: Set Carbon or Cocoa Project to use C++
  • Index(es):
    • Date
    • Thread