Flash, Naturaldocs and Xcode
January 25th, 2005Flash 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.
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.
November 21st, 2005 at 3:24 pm
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
November 21st, 2005 at 10:44 pm
figured it out. thanks again for your documentation. Seth
November 22nd, 2005 at 1:06 am
Glad I could help.
What was the problem?
January 28th, 2009 at 6:26 pm
[...] 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. [...]