Re: Lua syntax styling w/o warning
Re: Lua syntax styling w/o warning
- Subject: Re: Lua syntax styling w/o warning
- From: Chris Espinosa <email@hidden>
- Date: Wed, 17 Oct 2007 11:13:40 -0700
On Oct 17, 2007, at 11:01 AM, David Dunham wrote: I've got a project that uses some Lua files. I include them in the project so I can edit them, and so I can include them in a Copy Bundle Resources build phase.
I then enabled Lua syntax styling (see <http://lua-users.org/wiki/LuaEditorSupport>), and I now get the following error:
Checking Dependencieswarning: no rule to process file '$(PROJECT_DIR)/../lua/Canvas.lua' of type sourcecode.lua for architecture i386
(note lack of newline; I do get warnings both architectures if I do a universal build)
I don't want Xcode to compile Lua, but I do want syntax styling and copying. I'm not sure where in my project (or elsewhere) I'd set up a rule -- there's an editor in the Target Info (why not the Project so it's more universal?) but I don't see a way to specify Lua, or a way to not compile.
How can I get rid of the warning?
Remove the Lua file from the Compile Sources build phase in your target. If you don't want it to be compiled, don't put it there.
If you do want it compiled, you set up Build Rules in the Rules tab of the target inspector.
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