guru
guru

Reputation: 2817

How to create a Target via command line

I have read about some document about creating build via Terminal, but my requirement is that I have need to create target via terminal using script.

Can anyone have idea on that?

Upvotes: 0

Views: 1439

Answers (1)

clemens
clemens

Reputation: 17712

You can do this with AppleScript:

make new target with properties {name:"My new target"}

but this is just the beginning. Drag the Xcode.app onto the ScriptEditor to get a description of the possible commands.

Upvotes: 1

Related Questions