Creating/Integrating an XCode project
is there any way to create an XCode project without using XCode? I want to create an XCode project from scratch i.e. I want to put together some .m & .h开发者_开发百科 files and create a project that would run in XCode.
What do you mean by "without using Xcode"?
If you mean writing your own program that builds Xcode project documents completely independent of Xcode, you could reverse engineer the Xcode project file format. The Xcode project file format is rather simple. It's a package with a few XML like text based data files. The format is not documented, so you'd have to reverse engineer the file format. It sounds like a nice hobby that will greatly assist you in procrastinating from completing the actual project.
If you mean creating an Xcode project without manually operating the Xcode GUI, you could write an AppleScript script to automate the process. Xcode has an extensive AppleScript dictionary, allowing you to fully script the creation of an Xcode project and populate it with some .m and .h files.
精彩评论