Skip to content

Commit

Permalink
Merge pull request #57 from karlgluck/patch-1
Browse files Browse the repository at this point in the history
buildConfigName = "all" should match every buildConfig
  • Loading branch information
onevcat committed Oct 9, 2015
2 parents c80681b + 4adf50e commit 5aa41f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XCProject.cs
Expand Up @@ -274,8 +274,8 @@ public bool AddOtherLinkerFlags( PBXList flags )
foreach( KeyValuePair<string, XCBuildConfiguration> buildConfig in buildConfigurations ) {
//Debug.Log ("build config " + buildConfig);
XCBuildConfiguration b = buildConfig.Value;
if ( (string)b.data["name"] == buildConfigName || (string)b.data["name"] == "all") {
//Debug.Log ("found " + buildConfigName + " config");
if ( (string)b.data["name"] == buildConfigName || (string)buildConfigName == "all") {
//Debug.Log ("found " + b.data["name"] + " config");
buildConfig.Value.overwriteBuildSetting(settingName, newValue);
modified = true;
} else {
Expand Down

0 comments on commit 5aa41f7

Please sign in to comment.