7

Our target settings were inheriting from the project settings. We changed a target settings (break inheritance) but now want the target to start inheriting from the project again. How can you do this? Clearing out the target setting in question doesn't seem to work.

Community
  • 1
  • 1
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429

2 Answers2

10

There's a difference between clearing out the target setting (setting it to the empty string) and removing it. Assuming the target is selected and the specific build setting is selected (but not in edit mode), simply press Delete to remove the setting at that level.

Ken Thomases
  • 88,520
  • 7
  • 116
  • 154
  • Deleting will just switch to ExCode default-value, which in most cases is "`$(inherited)`", so, if you want to 100% ensure that it inherits, type `$(inherited)` – Top-Master Jul 07 '21 at 17:06
2

You can use the $(inherited) tag, which can be used to inherit build settings from the project level to the target level.

Zachary Espiritu
  • 937
  • 7
  • 23