BUILD ISSUE: Works in Sim, fails on device. Please help.

The app works fine in the simulator, but when I build for a device and run, I get a black screen. Here’s the console output:

Apr 7 11:21:54 unknown UIKitApplication:SCS[0x845b][3670] : AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Apr 7 11:21:55 unknown kernel[0] : launchd[3671] Builtin profile: container (sandbox)
Apr 7 11:21:55 unknown kernel[0] : launchd[3671] Container: /private/var/mobile/Applications/42EF2CB4-FB44-492A-B5E7-56881244636A [69] (sandbox)

What’s going on?

Sean. [import]uid: 4993 topic_id: 8663 reply_id: 308663[/import]

More information. I didn’t have a config.lua or a Default.png in the build directory. I put them in.

Now I get the splash screen before it turns black.

Sean. [import]uid: 4993 topic_id: 8663 reply_id: 31117[/import]

Solved.

Turned out to be this. I had the following line in my code:

local tableView = require(“tableView”)

However, at some point Mac OSX had managed to rename the file “tableView.lua” to “tableVIew.lua”. Note the upper case ‘I’ in “VIew”.

The typo caused the app to fail on devices without an error that I could see. But, of course, still work on OSX.

Sigh.

OSX really irritates me sometimes. I really don’t like the fact that it doesn’t see upper/lower case distinctions. (Is there a way to change that?)

Sean. [import]uid: 4993 topic_id: 8663 reply_id: 31125[/import]