osascript error for 32-bit
When running ./ttygif myrecording
I get the following error:
Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Seems to be related to Photoshop dependencies
Related Link: (Unit type conversion error)[http://helpx.adobe.com/photoshop/kb/unit-type-conversion-error-applescript.html]

After changing osascript to "arch -i386 osascriptxx" (as suggested by adobe) in ttygif_osx.c
I got this error: arch: posix_spawnp: osascript: Bad CPU type in executable
Deleting the Adobe unit types file will fix the problem.
cd '/Library/ScriptingAdditions/' \
sudo tar cjf Adobe\ Unit\ Types.tar.bz2 Adobe\ Unit\ Types.osax \
sudo rm -rf 'Adobe\ Unit\ Types.osax' && sudo ln -s /dev/null ./Adobe\ Unit\ Types.osax
However, this will break Photoshop...
I don't have a mac to test this out on. I guess I'll just leave this open in case anyone else runs into this issue.