Recently I received a shiny new Mac which I have been setting up for development. Im using the open source MTASC compiler for some projects which is used for compilation of the SWF files. However after checking out the repository onto my new machine I received this error when running the compiler either from Terminal or from within the ANT script used to build the project:
/Users/craigbeswetherick/Grindhead/clientname/projectname/build.xml:31: Execute failed: java.io.IOException: Cannot run program "../tools/mtasc-1.12-osx/mtasc": error=13, Permission denied
To fix this problem, use Terminal and use the following command to change the permissions granted to MTASC. Type chmod 777
You should now be able to compile SWF’s using MTASC again.