Guys,
This sub-directory test is overly aggressive. I have a whole debug folder with lots of Lua tools I use in terminal and Corona simulator to test my app before building. When I go to build for xCode or Device, I comment out all of the “require()” stmts that are loading these tools but I’m still getting this error:
The build failed because the project contains .lua files in subdirectories.
I should NOT be getting this message if my project code does not try to load code from sub-dirs.
Is this my mistake or is the test too brute-force??
[import]uid: 6175 topic_id: 9550 reply_id: 34898[/import]
sadly, you will need to work around it as it was a feature request to test against lua files in subdirectories. ideally, we should introduce a scan/don’t scan list of folders, if you want that, then add a bug/feature request in our bug database and we will prioritize it and see if where it lands.
c. [import]uid: 24 topic_id: 9550 reply_id: 34904[/import]
ok, I’ll move my debug folder each time I want to build. Instead of a “don’t scan” list, I would just ignore folders that are NOT referenced in a Lua “require” stmt…in other words, if the lua code is not being loaded or linked at build time, then (unless I misunderstand something) Corona should not care where it lives.
The CoronaUI folder contains 124 files!! I have to move all of those into my root directory? All I really want from CoronaUI is the XML parser. [import]uid: 52127 topic_id: 9550 reply_id: 35091[/import]