Creating Mac standalone on Windows Studio?

Mark Swindell mdswindell at cruzio.com
Wed May 19 16:16:46 EDT 2010


Quite the conundrum.  Thanks for the explanation.  New motto: Write once, wrestle lots, and deploy on multiple platforms.  

Mark

On May 19, 2010, at 10:13 AM, Richard Gaskin wrote:

> Mark Swindell wrote:
> 
>> That's seems a ridiculously obtuse process.  Not doubting it, but couldn't the application builder be made to take care of this?
>> Mark
> 
> I agree that it's way more work than would be desirable, but we discussed this here in a thread a couple months back related to a multi-platform installer I was making and we couldn't come up with a simpler solution.
> 
> The outcome of that thread was that ultimately this is a difference in file system capabilities, and not something Rev can address.  You simply can't set the Unix executable bit from Windows, since the Win file system has no such property.
> 
> If someone comes up with a way to do it I'd be very happy to learn it, but last time we explored it here we came up empty.
> 
> --
> Richard Gaskin
> Fourth World
> Rev training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> revJournal blog: http://revjournal.com/blog.irv
> 
>> On May 19, 2010, at 9:32 AM, Richard Gaskin wrote:
>> 
>>> Steve King wrote:
>>> 
>>>> I know nothing at all of Macs....
>>>> 
>>>> I have Rev Studio (windows) and in the standalone builder there is a Mac
>>>> (OSX) tab and when I build my Windows Standalone, I also get a Mac folder.
>>>> 
>>>> Is this a Mac standlone of any type? If so, how is it used. What is OSX?
>>> 
>>> "OSX" is a misspelling of "OS X" ("OS version 10"), the Mac operating system Apple ships with their computers.
>>> 
>>>> I never build for Macs, it just happens in the club this application is for
>>>> there is one Mac user. All the rest are windows users.
>>> 
>>> Unfortunately, Apple's Unix core will require an extra step to deploy there:
>>> 
>>> The folder you see is what Apple calls a "bundle", and contains all the parts and pieces the app needs to run, things that are embedded into a single file on Windows.
>>> 
>>> Within the bundle at this path:
>>> 
>>> /<bundlename>.app/Contents/MacOS/<exename>
>>> 
>>> ...where it says <exename> you'll find the actual executable.  But since it was generated from Windows it has no executable bit, which Unix-based file systems need to run a file as an executable.
>>> 
>>> To make the app runnnable you'll need to copy the *.app bundle to a Mac, then on the Mac use Terminal to change the permissions on the executable using chmod.
>>> 
>>> If there's an easier way to generate Mac standalones from Windows I haven't found it.
>>> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list