简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM