Customizing Xcode


While searching for ways to add scripts to the scripts menu in
Xcode,
I ran across
this
page
.
Following the links led me to Apple’s documentation on scripting Xcode.
Here are links to a
local web page
for people with Mac OS X and the dev tools installed, and the
online version at Apple.

The short shrift is that you can use Perl and shell scripts to do things to the files in your project.
Personally, the first one I am writing is the equivalent of the ‘ww’ shell alias, which strips the ‘uchg’ flag from a file.
‘uchg’ makes a file non-writable, even if its Unix permissions are rw-rw-rw-.
It’s used by
Perforce
to force you to “edit” files before modifying them
— a completely outmoded way of doing things, of course.

Published by

rae

Mac developer

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

This site uses Akismet to reduce spam. Learn how your comment data is processed.