Xcode Lua. Lua file in the wrong place

I have lua working in my iPhone project, but I have one nasty problem. When I add a new lua file, I use xcode to create an empty default file. Xcode recognizes the ".lua" extension as the source file and places it in the Target folder "Compile Sources" instead of "Copy Bundle Resources".

Is there a way for xcode to put my lua file in the "Copy Bundle resources" without manually moving it?

Thanks.

+4
source share
1 answer

This is strange. When I create a .lua file, as you described, it puts it in the Copy Bundle Resources phase.

Do you have any custom specs set in Xcode to control Lua? Perhaps this is a problem with the specification.

0
source

Source: https://habr.com/ru/post/1339381/


All Articles