Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How delete the config in Build Settings in a low level in XCode 4

Tags:

xcode

xcode4

In XCode 4.0.2 there is a good way to configure the program in Build Settings when you click in "Levels" format. Like this screen

showing a sample in Vuild Settings

The levels are in this way:

  1. Target Settings
  2. Project Settings
  3. iOS Default Settings

So the XCode see if the Target have a config, if not see in project and if not use the iOS default.

The problem here is that when you set a config in a low level and than delete it, it's impossible use the config of a upper level.

Like in image. I set all targets to use Google in Current Project Version, but in this target I want it use stackOverflow and it work. But in the other Generated Versioning ... I first config with stackOverflow but change my mind and want to use the Project Settings. Now is impossible delete the Target Settings and I will have to enter it manually.

How can I delete the target setting to use the project setting?

like image 611
Rodrigo Avatar asked Nov 04 '22 18:11

Rodrigo


1 Answers

In xcode 5 it worked right simple for me. I had the same situation as in the picture in the question. Some data in the project setting and an empty but green setting on target level.

You have to select the line e.g. with the mouse that is marked and afterwards press the delete button the green marking is gone from the target level. In my test it and it will never delete the setting on the highes level, so there is no risk.

like image 140
Stephan Avatar answered Nov 14 '22 01:11

Stephan