App I've created runs in the CORONA simulator. But not run in iPhone.

App I’ve created runs in the CORONA simulator. But not run in iPhone.

At the beginning of the program print statement to run. Looking at the console Log,program has crashed at a point “rhythmMachine source loading”.
This is because of what’s going on? Thank you suggest.
Program Source (main.lua) Beginning

io.output():setvbuf(‘no’)
print( “Main start”) --DEBUG

G_BOTTOM_INF_HEIGHT = 100

local ui = require(“ui”)
local viewController = require(“viewController”)
print( “viewController require”) --DEBUG
local patternData = require(“patternData”)
print( “patternData require”) --DEBUG
local rhythmMachine = require(“rhythmMachine”) – rhythmMachine source loading
print( “rhythmMachine require”) --DEBUG
local bpmUnit = require(“bpmUnit”) – BPM Object source loading
print( “bpmUnit require”) --DEBUG
local toneData = require(“toneData”) – ToneData source loading
print( “toneData require”) --DEBUG
local toggle = require(“toggle”) – toggle source loading

local mainView, tabView, currentScreen, tabBar

print( “After require”) --DEBUG
.
.
.
.

Console log

Sat Jan 15 22:54:13 kaihatsukimi-iPhone kernel[0] : launchd[2219] Container: /private/var/mobile/Applications/6767B2EC-B0F6-4F0E-A145-BDA9CC055687 [69] (sandbox)
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : Main start
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : viewController require
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : patternData require
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : Main start
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : viewController require
Sat Jan 15 22:54:14 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : patternData require
.
.
.
.
Sat Jan 15 22:54:15 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : Main start
Sat Jan 15 22:54:15 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : viewController require
Sat Jan 15 22:54:15 kaihatsukimi-iPhone UIKitApplication:PPDrum_lcase[0x47c9][2219] : patternData require
Sat Jan 15 22:55:01 kaihatsukimi-iPhone kernel[0] : ttyioss1000002: enqueueData rtn (e00002d7)
[import]uid: 11434 topic_id: 5070 reply_id: 305070[/import]

This is usually caused by case sensitivity.

Corona simulator is not case sensitive but the device is.

Try checking your imported resources; lua modules/graphics/audio files.

Upper/lower case in code must match case on filename. [import]uid: 11393 topic_id: 5070 reply_id: 16758[/import]

Thank you.
I have confirmed that upper/lower case in code match case on filename.
But did not improve. [import]uid: 11434 topic_id: 5070 reply_id: 17245[/import]

Sorry that didn’t help.

The only other thing I can suggest is to look for any modules/variables/folders/file names that look that they “might” conflict with reserved system names.

I had a problem with a directory called “Resources” on Android which worked when I changed it to “Android”. I have had a similar problem with iOS but can’t remember which name it conflicted with.

Good luck. [import]uid: 11393 topic_id: 5070 reply_id: 17266[/import]

If it’s not loading any modules after patternData, then it seems likely that the problem will be inside the next module that is supposed to be loaded, which would be the rhythmMachine module. If it doesn’t screw up everything after that, you can try commenting out that require() and see if the rest of the modules load. If they do, then you know that the problem is in there somewhere.

Darren [import]uid: 1294 topic_id: 5070 reply_id: 18202[/import]