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: Lua syntax styling w/o warning




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.

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_03_bs_build_phases/chapter_31_section_10.html

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: 
 >Lua syntax styling w/o warning (From: David Dunham <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.