开发者

Xcode targets -- programmatic creation [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you fe开发者_如何学Pythonel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜