I tried to build a version of the game I’m working on and got this error:
luac: /Applications/Corona/A New Game/._main.lua:1: unexpected symbol
logout
The console says:
1/16/10 11:22:48 AM [0x0-0x181181].com.anscamobile.Corona_Simulator[3801] luac: /Users/…/Documents/Code/Corona Code/A New Game/._main.lua:1: unexpected symbol
1/16/10 11:22:48 AM com.apple.launchd.peruser.501[96] ([0x0-0x181181].com.anscamobile.Corona_Simulator[3801]) Exited with exit code: 1
This doesn’t seem to provide any helpful information to diagnose the problem.
The program runs fine in the simulator.
The first lines of the code are:
– Load external button library (should be in the same folder as main.lua)
local ui = require(“ui”)
and the ui.lua is in the project folder.
Any idea why the build isn’t working? [import]uid: 1560 topic_id: 398 reply_id: 300398[/import]
Sent. As I mentioned in the note, it may be a corrupt file that’s causing the problems. The project folder will not zip properly. [import]uid: 1560 topic_id: 398 reply_id: 720[/import]
Problem resolved. Thanks for the help anyway. The folder the files were in seemed to be corrupt. I could not zip it. I moved the files into a new folder and it zipped. Then tried a build and it worked. [import]uid: 1560 topic_id: 398 reply_id: 721[/import]