Flash, Naturaldocs and Xcode

January 25th, 2005

Flash Ant was successful in their campaign to get full actionscript support in Naturaldocs.

Here is a quickie on how to get NaturalDocs to work with Xcode.

First fallow this tutorial on making Xcode your Flash IDE.

Then follow these directions to make Xcode run a shell script when building projects.

1)Download Naturaldocs.

2) Put the downloaded NaturalDocs folder in /Developer.
make sure the name of the folder is “NaturalDocs”

3)In one of your current Xcode flash project folders, create a folder called “_00Settings” and another called “_06Documentation”.

4)Open op the Xcode project.

5) Add this line to the shell script of the build target: (see this tutorial for help)

1
 /Developer/NaturalDocs/NaturalDocs -i _04Production/ -o HTML _06Documentation/ -p _00Settings/NaturalDocs

6) build the project then look in the “_06Documentation” to see your NaturalDocs spoils.

4 Responses to “Flash, Naturaldocs and Xcode”

  1. seth Said:

    Hi Aaron, thanks for you help with the mtasc compiler, it’s working now, I am so psyched! \../.

    I’m following your Naturaldocs tutorial and encountered one bug. Build is successful, and /NaturalDocs/data is being created in the _00Settings folder, but no files are being generated, and inside the _06Documentation folder is nothing.

    any ideas?

    thanks again. Seth

  2. seth Said:

    figured it out. thanks again for your documentation. Seth

  3. Aaron Spjut Said:

    Glad I could help.
    What was the problem?

  4. Xcode, Flash, and NaturalDocs, all-in-one - joshbuhler.com Said:

    [...] I know I’m kinda behind the times on this one, but I finally got around to setting up and using Xcode as my ActionScript Editor. I followed the instructions from pixelconsumption.com, along with some modifcations from Aaron Spjut. [...]

Leave a Reply