exported project (app) won't start in 32 bit --- using launchd

tmmmmm's icon

hi,

i exported a max project as a standalone-application and installed it on a computer to keep running as a permanent installation. as i use 32bit-externals i set up the .app to open in 32bit-mode.
but as launchd is taking over to keep the app restarting after a possible crash, using a .plist in the "LaunchAgents"-folder, it seems to ignore the 32bit-mode and starts the app _everytime_ in 64bit-mode.

any solutions, hints, ...?

thanks
timm

edit:
.plist in "LaunchAgents" looks like this:

RunAtLoadKeepAliveLabelapp.restartProgramArguments/path/app.app/Contents/MacOS/app

i already noticed that the the created app loads its files from a the Application Support/Cycling '74/temp64-MaxRuntime-folder

tmmmmm's icon

but is that really the easiest/only way?!

Julien-Robert's icon

having the same problem. How did you succeed to add the extra argument in the plist? what did you write?

Source Audio's icon

You could remove 64 bit code from App, leaving 32 bit only,
and in that way one can be sure that app allways runs in 32 bit mode.
Using terminal :

sudo ditto --arch i386 * add your app path and destination 32 bit path here