Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a ResourceManager file as not exectuable



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.