Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating Xcode projects by hand

Tags:

xcode

project

I know how to build an existing Xcode project using xcodebuild, but I also need to generate Xcode projects from maybe a Python/Shell script. Is there any document somewhere that describes the process?

like image 441
Plumenator Avatar asked Sep 24 '26 02:09

Plumenator


1 Answers

From personal experience generating xcode projects by hand is a pain; I've never seen a clear format defined anywhere, besides Apple keeps changing/adding stuff to it with each new version of Xcode.

I think the easiest way would be to use cmake/qmake or scons to generate your xcode project for you. For example, using cmake for this is pretty simple: you can have your script generate cmake makefiles, then run "cmake -G xcode" on those and it will create an xcode project for you. Also, since you mentioned python you could probably look into using scons for this purpose.

like image 119
ttvd Avatar answered Sep 26 '26 16:09

ttvd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!