Mac OS X SDL-devel Package - XCode not showing templates, bad permissions

Hey guys,

I don’t mean to add to your Mac OS X package woes, but I noticed when I
installed the most recent (on Tuesday, May 4th, 2004) SDL-devel 1.2.7 Mac OS
X package, I still wasn’t getting an option for “SDL Application” on Xcode’s
New Project window. My system is Mac OS X 10.3.3.

The source of this problem (as far as I could narrow it down) was that the
permissions for the SDL Project Templates (located in /Library/Application
Support/Apple/Developer Tools/Project Templates/Application/) were all
"700", owned by root of group admin. For example, the “SDL Cocoa
Application” template looks like this to the user I installed as:

Andrew-Culvers-Computer:/Library/Application Support/Apple/Developer
Tools/Project Templates/Application/SDL Cocoa Application prezninja$ ls
-laR
total 40
drwxrwxr-x 8 root admin 272 3 May 13:19 .
drwxrwxr-x 15 root admin 510 3 May 15:03 …
drwx------ 3 root admin 102 3 May 13:19 English.lproj
drwx------ 4 root admin 136 3 May 13:19 SDL Cocoa App.pbproj
-rwx------ 1 root admin 507 4 May 08:23 SDLMain.h
-rwx------ 1 root admin 9003 4 May 08:23 SDLMain.m
drwx------ 5 root admin 170 3 May 13:19 SDLMain.nib
-rwx------ 1 root admin 1334 4 May 08:23 main.c
./English.lproj:
ls: English.lproj: Permission denied
./SDL Cocoa App.pbproj:
ls: SDL Cocoa App.pbproj: Permission denied
./SDLMain.nib:
ls: SDLMain.nib: Permission denied

I don’t know why the permissions are like that, and I’m assuming that
isn’t normal behavior. I can’t remember any steps of the installation
process where I was able to do anything other than just click through with
default options.

If anyone else experiencing this problem is the same and just needs to get
to work, a simple solution is to simply modify the permissions of each file
in the “SDL Application” folder (or whatever other template you need) to be
readable by your user. Anyone who isn’t familiar with that process can
reply and I’d be happy to type up some step by step instructions. It’s
quite easy.

Aside from that, the “What was installed and where” section of “Readme SDL
Developer.txt” is outdated and misleading.

Our personal thanks to all of you diligent developers who have made this
mailing list such valuable reference material.

With regards,

Andrew Culver, codeninja labs.
@Andrew_Culver