Setting copyToDestination to YES, will cause the framework to be first copied to the group’s directory within the
project, and subsequently linked from there.
. . . these settings are added by key, as they would appear in a make file. (Xcode provides more human friendly descriptions). To find the key for a given build setting, consult the compiler docs. Common settings are:
//Creates the reference in the project and writes the contents to disk. If a file already exists at the
//specified location, its contents will be updated.
[definition setFileOperationStyle:FileOperationStyleOverwrite];
//Creates the reference in the project. If a file already exists at the specified location, the contents will
//not be updated.
[definition setFileOperationStyle:FileOperationStyleAcceptExisting];
//Creates the reference in the project, but does not write to disk. The filesystem is expected to be updated
//through some other means.
[definition setFileOperationStyle:FileOperationStyleReferenceOnly];
Building
Open the project in XCode and choose Product/Build. Alternatively install with CocoaPods.
Feature Requests and Contributions
. . . are very welcome.
If you’re using the API shoot me an email and tell me what you’re doing with it.
Compatibility
Xcode-editor has been tested on Xcode 4+. It should also work on earlier versions of Xcode.
The AppCode IDE from JetBrains is now supported too!
Supports both ARC and MRR modes of memory management.
Who’s using it?
Apportable : Develop Android applications using Xcode, Objective-C and Cocoa APIs
Xamarin: The Calabash automated functional testing for mobile applications.
Peckham : A great plugin for managing Xcode imports
Level Helper: A RAD framework for developing 2D games on iOS & Android.
Description
An API for manipulating Xcode project files.
Usage
Adding Source Files to a Project
Duplicating Targets
It will be added to project as well.
Specifying Source File Belongs to Target
Adding a Xib File
This time, we’ll use a convenience method on XCGroup to specify the targets at the same time:
Adding a Framework
Setting copyToDestination to YES, will cause the framework to be first copied to the group’s directory within the project, and subsequently linked from there.
Adding an Image Resource
Adding Asset Catalog (ImageSet)
Adding a Header
Adding a sub-project
Removing a sub-project
Configuring targets
We can add/update linker flags, header search paths, C-flags, etc to a target. Here we’ll add header search paths:
. . . these settings are added by key, as they would appear in a make file. (Xcode provides more human friendly descriptions). To find the key for a given build setting, consult the compiler docs. Common settings are:
Adding a Library
File write behavior
Building
Open the project in XCode and choose Product/Build. Alternatively install with CocoaPods.
Feature Requests and Contributions
. . . are very welcome.
If you’re using the API shoot me an email and tell me what you’re doing with it.
Compatibility
Who’s using it?
Authors
With contributions from:
Thanks!
LICENSE
Apache License, Version 2.0, January 2004, http://www.apache.org/licenses/