Tuesday 15 January 2013

shell - Scripting Xcode -


Does Xcode support any kind of underlying scripting? I'm trying to automate the branding of a base app (making a new goal, adding files to the goal, setting target attributes) so that it can be executed by a script.

The project currently does AppleScript automatically (mostly) the process, but in practice this looks very unstable and unreliable because it's really keyboard scripting and user interface interaction. Is Xcode, or a better way to do programming with its project files?

The script you can use Apple is rendered by Xcode.

  1. Open AppleScript Editor.
  2. Select "Open Dictionary ..."
  3. Find and select Xcode

    You will see something like this:

    Enter image details here

    So there are lots of structured APIs to manipulate you . Happy coding!

    The Xcode project suite looks promising ... If Xcode 4 does not apply these methods, then maybe you want to go back to 3 Xcode? But most likely it is not an option

No comments:

Post a Comment