FRUSTRATED: Terminal and Debugger does not work

Im trying to get the simulator or debugger to work. But it seems to be bugged out. When I open the TErminal window, i get the error below.
The debugger on the other hand gives me all gibberish.

Is there any help out there for this? Documentation or anything?


#!/bin/bash

path=dirname "$0"
if [[-f “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator”]]
then
“$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
else
echo “ERROR: Could not find “Corona Simulator.app” in: $path”
fi
[import]uid: 792 topic_id: 7476 reply_id: 307476[/import]

Make sure Corona Simulator is in same folder as Corona Terminal.

It would be like this

Applications/Corona/Corona Simulator
Corona Terminal
debugger
Documentation.html
Release_Notes.html
Resource Library
SampleCode
simulator
Tools

Then it should work! [import]uid: 11559 topic_id: 7476 reply_id: 26941[/import]

@Anena, thanks for your response.

Yes they are. The install instructions is pretty straight forward. I downloaded the latest version and moved the entire Corona folder into /Applications. Yet it does not work. The Simulator works just fine. But somehow the Terminal and debugger do not. I am using a new Mac Pro / 10.6. I am using the “free” /review version as I review this SDK. Which according to what I have read has no restrictions but the ability to build. Could that be the problem? I am afraid to purchase it if this continues to be a challenge. [import]uid: 792 topic_id: 7476 reply_id: 26950[/import]

No. That shouldnt be a problem. I had exact same problem , but my corona simulator wasnt in same folder as terminal. Make sure you dont have Corona terminal elsewhere exept in Corona forlder. Or try to reinstall it again.

Here is what happens when i move Simulator away from corona folder

Error:

ERROR: Could not find “Corona Simulator.app” in: /Applications/Corona.2011.308
logout [import]uid: 11559 topic_id: 7476 reply_id: 26953[/import]

@Ayena:
I am new to the Mac world.
If I could take a screen shot I would be able to show you that everything is as you say, no success yet. I reinstalled twice as well without success.
Is there a way to look at what the “corona terminal” file/code is doing, perhaps it is pointing to a different directory or something. If what I have posted above is the code, then it cannot find in $path-- what is that?
[import]uid: 792 topic_id: 7476 reply_id: 26959[/import]

Skype me

AyenaLLC – Thats my skype name [import]uid: 11559 topic_id: 7476 reply_id: 26960[/import]

I uninstalled, removed 3 files from /users/library… reinstalled, and got the same thing. Is anyone having the similar problems? [import]uid: 792 topic_id: 7476 reply_id: 27059[/import]

It looks like you missing files from Cprona simulator. [import]uid: 11559 topic_id: 7476 reply_id: 27064[/import]

Pray-tell- What files could I be using? Is there a list somewhere that I can compare against? [import]uid: 792 topic_id: 7476 reply_id: 27067[/import]

When I open the TErminal window, i get the error below.

Does it literally say what you pasted there? That is, did you copy-paste from the Terminal window or did you copy that text from somewhere else? That looks like a bash script with a command telling Terminal to print an error message, not the actual message that appears in the Terminal window. [import]uid: 12108 topic_id: 7476 reply_id: 27081[/import]

@jhocking, its verbatim of what happens when I click on the terminal within the Corona folder. I just copied and pasted. Ya that’s the thing that puzzled me. Technically, it appears to be some sort of if statement that it spits out. I may be that the installed was messed up? Is there some prerequisite software that I need to load before installing the SDK? I installed Xcode-successfully. And the Corona SDK install instructions appear to be simple - Download and move to /Applications - then register…

Oh and the debugger terminal is even worse- its all gibberish and unreadable- several screens long. [import]uid: 792 topic_id: 7476 reply_id: 27093[/import]

There aren’t any prerequisite software you have to install to use the Simulator on OS X. What happens if you use Terminal to cd to the Corona app folder, and type the following

$ ./Corona\ Terminal [/code] [import]uid: 8196 topic_id: 7476 reply_id: 27097[/import]

Tim:
Thank you sooo much, Finally someone from Ansca.
Soooo, I used ITerm and ran $ ./Corona\ Terminal
Corona Simulator started up. I ran one of the samples successfully.

But The Corona Terminal is still not working and giving the initially mentioned “#!/bin/bash…” and the debugger is all gibberish

[import]uid: 792 topic_id: 7476 reply_id: 27111[/import]

@ Tim can you please look here please

https://developer.anscamobile.com/forum/2011/02/25/want-my-money-back-android [import]uid: 11559 topic_id: 7476 reply_id: 27114[/import]

FIXED!!!
ALl solved- Reinstalled IOX and everything worked!
Thanks Tim and everyone else! [import]uid: 792 topic_id: 7476 reply_id: 27210[/import]