Re: Treating ".js" files like resources
Re: Treating ".js" files like resources
- Subject: Re: Treating ".js" files like resources
- From: glenn andreas <email@hidden>
- Date: Wed, 04 Jun 2008 12:52:43 -0500
On Jun 4, 2008, at 12:45 PM, Scott Thompson wrote:
In compiling my application, I have some JavaScript (.js) files
which I would like to have simply copied into the resulting
application.
XCode, however, sees them as source code files and warns me that it
doesn't know what to do with them.
I tried setting up a rule to handle them, but XCode doesn't have a
"pass through to resources" compiler. If I don't specify a
compiler, then the files are ignored (even though they are listed in
the copy resources build phase).
Is there some way to tell the system... "Hey, I know these look like
source code, but just pass them through as resources"?
Easy.
The .js files will appear in the "Compile Sources" section of the
target.
Drag them out of there and drop them in the "Copy Bundle Resources"
section.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
JSKit | the easy way to unite JavaScript and Objective C
_______________________________________________
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