From 90c4a9ea0e6c43a7651084f74d6a02795fbe25a3 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 25 Jun 2020 09:08:15 +0200 Subject: [PATCH] changing Xcode target names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit otherwise ‚dynamic‘ and ‚static‘ were existing both in the app and in the library project, leading to problems with newer Xcode versions --- .../minimal_cocoa.xcodeproj/project.pbxproj | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/samples/minimal/minimal_cocoa.xcodeproj/project.pbxproj b/samples/minimal/minimal_cocoa.xcodeproj/project.pbxproj index 54dfaf85f4..a3567cec78 100644 --- a/samples/minimal/minimal_cocoa.xcodeproj/project.pbxproj +++ b/samples/minimal/minimal_cocoa.xcodeproj/project.pbxproj @@ -132,9 +132,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 405B1ABF10EF253300676938 /* static */ = { + 405B1ABF10EF253300676938 /* app-static */ = { isa = PBXNativeTarget; - buildConfigurationList = 405B1AC810EF253300676938 /* Build configuration list for PBXNativeTarget "static" */; + buildConfigurationList = 405B1AC810EF253300676938 /* Build configuration list for PBXNativeTarget "app-static" */; buildPhases = ( 405B1AC210EF253300676938 /* Sources */, 405B1AC410EF253300676938 /* Frameworks */, @@ -144,15 +144,15 @@ dependencies = ( 405B1ADE10EF25B100676938 /* PBXTargetDependency */, ); - name = static; + name = "app-static"; productInstallPath = "$(HOME)/Applications"; productName = minimal_cocoa; productReference = 405B1ACB10EF253300676938 /* minimal_cocoa.app */; productType = "com.apple.product-type.application"; }; - 8D1107260486CEB800E47090 /* dynamic */ = { + 8D1107260486CEB800E47090 /* app-dynamic */ = { isa = PBXNativeTarget; - buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "dynamic" */; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "app-dynamic" */; buildPhases = ( 8D11072C0486CEB800E47090 /* Sources */, 8D11072E0486CEB800E47090 /* Frameworks */, @@ -163,7 +163,7 @@ dependencies = ( 405B1A9110EF207D00676938 /* PBXTargetDependency */, ); - name = dynamic; + name = "app-dynamic"; productInstallPath = "$(HOME)/Applications"; productName = minimal_cocoa; productReference = 8D1107320486CEB800E47090 /* minimal_cocoa.app */; @@ -174,6 +174,8 @@ /* Begin PBXProject section */ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; + attributes = { + }; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "minimal_cocoa" */; compatibilityVersion = "Xcode 3.1"; developmentRegion = English; @@ -194,8 +196,8 @@ ); projectRoot = ""; targets = ( - 8D1107260486CEB800E47090 /* dynamic */, - 405B1ABF10EF253300676938 /* static */, + 8D1107260486CEB800E47090 /* app-dynamic */, + 405B1ABF10EF253300676938 /* app-static */, ); }; /* End PBXProject section */ @@ -308,7 +310,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 405B1AC810EF253300676938 /* Build configuration list for PBXNativeTarget "static" */ = { + 405B1AC810EF253300676938 /* Build configuration list for PBXNativeTarget "app-static" */ = { isa = XCConfigurationList; buildConfigurations = ( 405B1AC910EF253300676938 /* Debug */, @@ -317,7 +319,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "dynamic" */ = { + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "app-dynamic" */ = { isa = XCConfigurationList; buildConfigurations = ( C01FCF4B08A954540054247B /* Debug */,