• 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: Lua syntax styling w/o warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

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:

This email sent to email@hidden

References: 
 >Lua syntax styling w/o warning (From: David Dunham <email@hidden>)

  • Prev by Date: Lua syntax styling w/o warning
  • Next by Date: headerpad_max_install_names
  • Previous by thread: Lua syntax styling w/o warning
  • Next by thread: headerpad_max_install_names
  • Index(es):
    • Date
    • Thread