Skip to content

inherits

Samantha Marshall edited this page Aug 8, 2016 · 3 revisions

inherits

inherts is a modifier that can be added to a setting definition to indicate that it should include the $(inherited) value in addition to values that the user defines for it. This is an optional attribute that should go at the end of a setting definition, before the opening curly brace.

Using the inherits keyword as such:

setting FOO inherits {
	...
}

Will generate the following line in the .xcconfig file:

FOO = $(inherited) ...

Clone this wiki locally