Page 1 of 1
Standalone Application Problems
Posted: Thu Dec 30, 2010 4:48 am
by interactbooks
I have a stack that I saved as a standalone application. Deployed it to 3 different Mac machines running OSX 10.6.4 and 10.6.5 (my development machine is running OSX 10.6.5 and LiveCode 4.5.2). Out of the 3 machines only 1 runs the stack, the other two immediately quit (you double quick and the icon quickly disappears). At first I thought it's something wrong with my stack so I deployed a very simple 1 line stack and it behaves the same way. I'm not sure where to go from here, my guess is that any stack that I deploy to either one of these machines will fail. Has anyone run into anything similar? One machine that fails is an iMac the other is a brand new MacAir. The machine that it worked on is a Mac Mini, for development purposes I'm using a MacBook Pro.
Re: Standalone Application Problems
Posted: Thu Dec 30, 2010 12:40 pm
by Janschenkel
Do you see anything in the Console application? A crash log by any chance?
Also, how did you move your application over to the other computers?
I either copy them via the network, or make a .zip file.
Jan Schenkel.
Re: Standalone Application Problems
Posted: Thu Dec 30, 2010 3:53 pm
by interactbooks
So I figured out my problem and hopefully this solution will help others. We are actually using Dropbox
http://www.dropbox.com to store our source files. For some reason when I copy the stand alone directly from the build folder in DropBox to another system the stand alone application fails to run. However, if I copy it to any other folder on my computer and then move it to another machine it works!!!!!! I should also point out that I'm copying the files from my local drop box folder, so it's not even an issue of the file being stored in the cloud (it is of course, but I have a local folder that synchronizes to the cloud).
This leads me to believe that DropBox is doing something funny with the file permissions or ownership, not quite sure what. I double checked all the file attributes and everything matches. Bottom line is that for now I have a good workaround so it's not a big deal. DropBox to this point has worked flawlessly and is a great service when I have time I will investigate this further and will post any updates that I find in this thread. If anyone else has run into something similar I would love to hear from you.
Re: Standalone Application Problems
Posted: Thu Dec 30, 2010 5:53 pm
by robl
DropBox doesn't properly support Mac application "bundles", such as Mac stand alones. Bundles are really just a folder with various binaries and resources which use some trickery to look like a single file in the Mac Finder.
I've seen this happen with several other applications, not just created in LiveCode.
Best solution is to either zip the standalone before dropping into the Drop Box. Or you can create a .dmg disk image file to hold the application bundle, which is what I use before dropping applications into my DropBox Public Folder.
Re: Standalone Application Problems
Posted: Thu Dec 30, 2010 6:02 pm
by interactbooks
Thanks for the tip Rob! Thats' good to know, I had no idea this would be an issue and ended up pulling out quite a lot of hair (which I don't have much to begin with), trying to figure out what was going on.