I have tried moving the CoronaResources.bundle into my xcode project, still doesn’t work. I have also upgraded to 1072 and I get :
Runtime error ?:0: attempt to index a nil value stack traceback: [C]: ? ?: in function '?' ?: in function \<?:248\> (tail call): ? ...2.0/Codebase/trunk/corona\_pro/ios/../Corona/main.lua:181: in function 'main' ...2.0/Codebase/trunk/corona\_pro/ios/../Corona/main.lua:192: in main chunk
All I did was use the sample project code to produce this error. The code is literally this:
io.output():setvbuf( "no" ); local widget = require("widget"); function main() local days = {} local years = {} for i = 1, 31 do days[i] = i end for i = 1, 44 do years[i] = 1969 + i end -- Set up the Picker Wheel's columns local columnData = { { align = "right", width = 150, startIndex = 5, labels = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }, }, { align = "left", width = 60, startIndex = 18, labels = days, }, { align = "center", width = 80, startIndex = 10, labels = years, }, } local pickerWheel = widget.newPickerWheel { top = 210, font = native.systemFontBold, columns = columnData, } end main();
EDIT:
So I basically deleted everything and found out the issue was the CoronaResources.bundle was not linking properly with the xcode project.