TDK-TclApp OSX 10.9.2 resulting app won't execute because "Classic environment is no longer supported"

Posted by vbonilla on 2014-03-26 05:26

Hi, I'm trying to compile a Tcl/Tk 8.5 application on OSX 10.9 using TclApp. The resulting app does not execute, a warning panel pops up instead.

You can't open the application
"dscV3.app" because the Classic
environment is no longer supported.

I have used both the "/Library/Tcl/basekits/base-tk8.5-thread-macosx-universal" and "teapot:base-tk-thread/8.5.15.1.297985/macosx10.5-i386-x86_64"

The application compiles ok on the Windows version of TclApp.

Please let me know what may be the problem.

Thanks,

Victor

grahams
ActiveState Staff
Thu, 2014-03-27 14:16

From the Run tab;
Check what values you are adding to the info.plist. I can't create this exact message so far, but I can easily get an app that won't start if I leave values or specify one of attributes that has been deprecated for recent releases. Test by setting "Defaults" from the GUI, and see your app works without any plist info.

If not that, check the binaries going into your app. The two basekits above are good, but you might have very old PPC-only binaries somewhere else in what you wrap (libraries? Third-party components?).