I need help troubleshooting a Macintosh application I’m trying to set up to run from CD.
I need help troubleshooting a Macintosh application I’m trying to set up to run from CD. The program is started by a shell script that sets some environment variables before launching the application. Everything works from the command line but when I try to start the program from the CD by double clicking the icon for the application package the only thing that happens is that the icon bounces up and down a couple of times in the program dock and then goes away. How can I find out what the trouble is?
Start by opening up the Console program that is located in the Applications->Utilities folder to review the console log and the system log to see if there are any error messages there. Double check the entries in the Info.plist file in your program.app package folder and make sure the BundleExecutable attribute matches the script name exactly and that the BundlePackage type is APPL. Depending on the application, spaces in the file name, the disk name or the path could cause problems when launching the application package from CD. Verify that your shell script uses full path names when calling system utilities and your application executable. Quote path names that contain spaces inside the shell script. Confirm that all of the application resources are located correctly in the application folder hierarchy. Also be sure that the execute permission is set on the shell script you are using to prepare the environment and launch the application when you copy the application folder to CD.




