Xcode targets -- programmatic creation [closed]
I have an iOS project in which there will be >100 targets created from the same code base. The targets have many similar characteristics, but different info.plist, Default.png files, etc...
I'm considering generating (or mutating) the project file programmatically. Since project file formats are versioned, I should be safe in the short term. Longer term this might not be the most ideal solution though. I'm also looking at scripting Xcode with applescript. It seems like there is a robust dictionary with target objects.
I'm looking for some input on a good approach to managing this. Anyone with experience doing this like to make a recommendation?
UPDATE: I ended up using applescript to script Xcode. This worked great, until XC4 broke everything...
精彩评论