Stencyl won't launch in MacOSX 10.7.4

rbrambilla

  • Posts: 5
Hey guys,

Just found out about this awesome looking program last night; tried installing it. It simply will not launch on my Macbook. It doesn't even give me an error message. This is the first time that I've encountered this type of problem.

Here's a quick breakdown of the steps I take to open the application.

1. Locate in finder.
2. Right-click, Open (or double-click).
3. Animation for app opening will show.
4. Absolutely nothing happens.

Any advice on how I can get this issue fixed would greatly be appreciated!

Thanks!

Joe

  • *
  • Posts: 2480
Welcome to Stencyl! Make sure you have Java 6 on your machine (not Java 7).

rbrambilla

  • Posts: 5
Hi Joe,

Thanks for the tip; I'm currently running Java 6.

I've tried rebooting several times as well. Do you think that it might have something to do with the fact that my main drive isn't the default drive name?

Max Finch

  • *
  • Posts: 2187
I have this problem when I don't run in admin mode in windows... Though I don't know if there is a admin mode in MAC...

rbrambilla

  • Posts: 5
To my knowledge, there isn't an admin-mode in MacOSX, but thanks for the suggestion!

captaincomic

  • *
  • Posts: 6109
You can try to run it from the command line, then it probably prints an error message that helps identifying the problem.

Open the Terminal application and enter the following command
Code: [Select]
cd /Applications/<name of your stencyl folder>it's probably:
Code: [Select]
cd /Applications/Stencyl/
Then enter
Code: [Select]
java -jar sw.jarand copy all the output and post it here.
(quoted from another thread ;))

Joe

  • *
  • Posts: 2480
Hi Joe,

Thanks for the tip; I'm currently running Java 6.

I've tried rebooting several times as well. Do you think that it might have something to do with the fact that my main drive isn't the default drive name?

It shouldn't. I know we've been making some recent path changes, though. Can you give the nightly build a try and see if that fixes your problem?

rbrambilla

  • Posts: 5
You can try to run it from the command line, then it probably prints an error message that helps identifying the problem.

Open the Terminal application and enter the following command
Code: [Select]
cd /Applications/<name of your stencyl folder>it's probably:
Code: [Select]
cd /Applications/Stencyl/
Then enter
Code: [Select]
java -jar sw.jarand copy all the output and post it here.
(quoted from another thread ;))

This is going to be a big wall of text, but bare with me. Aside from what follows this, there were a ton of "LOG" entries of copies directories or something. In any case, here's what is showing as errors?


Quote
[LOG] The Stencyl workspace is:
[LOG] Log file 'logs/06-25-2012_0523_PM.log' created/opened.
[LOG] Mirroring logs to the standard output...
[LOG] Current Working Directory: /Applications/Stencyl
[LOG] Reading... global
[LOG] LANGUAGE WARNING: Empty Line.
[LOG] Finished reading lang/en/global.lang
[LOG] Reading... prefs
[LOG] Finished reading lang/en/prefs.lang
[LOG] Reading... gamedg
[LOG] Finished reading lang/en/gamedg.lang
[LOG] Reading... spritedg
[LOG] Finished reading lang/en/spritedg.lang
[LOG] Reading... tset
[LOG] Finished reading lang/en/tset.lang
[LOG] Reading... actor
[LOG] Finished reading lang/en/actor.lang
[LOG] Reading... scene
[LOG] Finished reading lang/en/scene.lang
[LOG] Reading... snippet
[LOG] Finished reading lang/en/snippet.lang
[LOG] Reading... blocks
[LOG] Finished reading lang/en/blocks.lang
[LOG] Reading... blockhelp
[LOG] Finished reading lang/en/blockhelp.lang
[LOG] Initializing Stencyl
[LOG] <COMMAND> Error: No developer directory found at /Applications/Xcode.app/Contents/Developer. Run /usr/bin/xcode-select to update the developer directory path.
[LOG] export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer; xcodebuild -version =====>Error: No developer directory found at /Applications/Xcode.app/Contents/Developer. Run /usr/bin/xcode-select to update the developer directory path.

[LOG] <COMMAND> Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
[LOG] export DEVELOPER_DIR=/Developer; xcodebuild -version =====>Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.

EDIT: I should note that using the terminal to launch Stencyl DID cause it to run, however.

captaincomic

  • *
  • Posts: 6109
Okay, do you have Xcode installed?
If so, which version do you have and where did you install it?

Stencyl expects Xcode 4.2 and below to be in /Developer, and Xcode 4.3 in /Applications/Xcode.app/Contents/Developer.

rbrambilla

  • Posts: 5
Well. Now don't I just feel like a dummy, hahaha. Definitely no Xcode installed, as far as I can tell.

Any advice on where I can locate 4.2 and 4.3? I can't seem to find links through www.developer.apple.com?

Joe

  • *
  • Posts: 2480
You can get them from there if you log in with your Apple Developer account, but the easiest way is just through the Mac App Store.

snortch

  • Posts: 25
I am having this same problem except that Stencyl has been running just fine until today. Now, when I attempt to run it, the application icon appears in my dock for a half second and then disappears - Stencyl doesn't start.

I am running the same version of OSX as rbrambilla.


snortch

  • Posts: 25
Ohh, hmm - I just noticed that there was a Java update. I updated and now Stencyl launches properly.