Just spent a good chunk of time tracking down this gnarly bug:
Repro Steps:
- Create main.lua,
- Create testmodule.lua
- Inside testmodule.lua insert basic module template: module(…, package.seeall)
- Inside main.lua add "local testmodule = require(“testModule.lua”)
- Add native.alert()
- Launch Corona SDK with main.lua
- Build and Launch for iPhone SDK
Observe: Corona SDK simulator launches and alert is shown. Iphone Simulator shows black screen.
Expect: Corona SDK shows black screen, console complains that “testModule.lua” can’t be found!
So, Corona SDK will happily load a module regardless of case, but the iphone simulator, and device won’t. This was a sucky one to track down. [import]uid: 22457 topic_id: 6057 reply_id: 306057[/import]