App works in simulator but not device!!

Hi,

My app works fine in the simulator but when I run it on the device it doesn’t work. Do you have any ideas how to troubleshoot something like this?

Looking at the debug console from x-code, I get the following:
Sun Jan 30 13:11:54 unknown kernel[0] : launchd[18447] Builtin profile: container (sandbox)
Sun Jan 30 13:11:54 unknown kernel[0] : launchd[18447] Container: /private/var/mobile/Applications/21E64505-0F49-4EB2-AC95-6FBC4FF77B07 [69] (sandbox)
Sun Jan 30 13:11:54 unknown MobileMail[15891] : (
(
CAPA
),
(
TOP
),
(
UIDL
),
(
“RESP-CODES”
),
(
PIPELINING
),
(
STLS
),
(
USER
),
(
SASL,
PLAIN
)
)
Sun Jan 30 13:11:59 unknown UIKitApplication:com.gellyware.BUILD2013[0x687a][18447] : AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Sun Jan 30 13:12:42 unknown com.apple.itdbprep.server[18442] : warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Sun Jan 30 13:12:42 unknown com.apple.itdbprep.server[18442] : warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Sun Jan 30 13:12:42 unknown com.apple.itdbprep.server[18442] : warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Sun Jan 30 13:13:58 unknown SCHelper[2551] : active (but IDLE) sessions
Sun Jan 30 13:13:58 unknown SCHelper[2551] : 0x116940 {port = 0x240f, caller = SpringBoard(24):com.apple.preferences, path = /Library/Preferences/SystemConfiguration/preferences.plist}
Sun Jan 30 13:15:00 unknown SpringBoard[24] : MultitouchHID(21cdc0) uilock state: 0 -> 1
Sun Jan 30 13:15:07 unknown SpringBoard[24] : MultitouchHID(21cdc0) uilock state: 1 -> 0
Sun Jan 30 13:15:10 unknown MobileStorageMounter[18452] : (0x3e7518b8) platform_supports_camera_import: Platform is NOT configured for camera import
Sun Jan 30 13:15:11 unknown UIKitApplication:com.gellyware.BUILD2013[0x687a][18447] : AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Sun Jan 30 13:15:20 unknown MobileStorageMounter[18452] : (0x3e7518b8) idle_timer_callback: Exiting after idle timeout

[import]uid: 11632 topic_id: 5719 reply_id: 305719[/import]

Anyone from Ansca able to help???

Why would the app work fine in simulator but freeze on device? [import]uid: 11632 topic_id: 5719 reply_id: 19853[/import]

Same problem here, nor working on simulator, black screen on both…
[import]uid: 31779 topic_id: 5719 reply_id: 29621[/import]

Check to make sure that your files are all the same, meaning the Corona Sim is not case sensitive but the device is. [import]uid: 11809 topic_id: 5719 reply_id: 29635[/import]

I’m having the same problem. I’ve tried

  • Case Sensitive

  • Nested folders

  • png 32

  • length of file names

but the problem with black screen on device (IOS) won’t go away.

Running Corona 484 on OSX.

What “app” with that? :stuck_out_tongue: [import]uid: 41041 topic_id: 5719 reply_id: 39960[/import]

turn off output buffering & put a bunch of print statements spaced across major sections of your init code and see how far you get… [import]uid: 6175 topic_id: 5719 reply_id: 40030[/import]