How to create a new project in Xcode using AppleScript?

I want to do a simple task with Xcode and AppleScript:

  • I want to create a new project
  • Save the created project with the desired name in the desired folder.

Can someone tell me how I can achieve this using AppleScript?

Thank,

Miraaj

+3
source share
3 answers

You cannot do this directly, but you can do it by setting up a template project, which is then used to create new projects. Below are some useful information about this here .

+1
source

gist , AppleScript ++. , , . , UI-, , Xcode 4.

+1

I tried to archive the same thing, and the solution for me was only to create a folder with empty projects, to find all the places where you need to rename the project name (and package ID) and run your script, just copy this folder and rename project name and package identifier. Dirty but light.

+1
source

Source: https://habr.com/ru/post/1738613/


All Articles