Create xcodeproj

I know this may seem a little strange, but I will need to generate xcodeproj automatically. Basically scanning a file system and adding specific files to a project and to a specific purpose.

The main reason for this is that I work in an environment with a zero IDE. Thus, we have our own build system, and the source files are added and deleted all the time.

I could use "create folder links for any added folders." However, xcode will never parse source files unless they are part of any purpose. So, no characters, no code completion ...

For me, the only option would be to "automatically update" my xcodeproj with a script ...

Thank you in advance for your details!

+3
source share
2 answers

Cmake is one of the options (see this related question ) and there are also Scons , which, I think, can generate Xcode projects. There is also Qt qmake, which can generate project files, but this is probably too much if you are not using full Qt.

+5
source

You can either use AppleScript (or something compatible with OSA) to automate the process of creating a project in Xcode itself, or you can look at CMake , which can generate Xcode project files.

+2
source

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


All Articles