Skip to content

Commit

Permalink
improve configuration templating
Browse files Browse the repository at this point in the history
  • Loading branch information
wAuner committed Jan 27, 2022
1 parent f07bbd4 commit f9d79e6
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
Release.xcconfig
Debug.xcconfig
Configs/Release.xcconfig
Configs/Debug.xcconfig
Configs/Shared.xcconfig
xcuserdata/
project.xcworkspace
project.xcworkspace
6 changes: 3 additions & 3 deletions DebugTemplate.xcconfig → Configs/DebugTemplate.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974

PRODUCT_BUNDLE_IDENTIFIER =
#include "Shared.xcconfig"

CODE_SIGN_IDENTITY = Mac Developer
DEVELOPMENT_TEAM =
PROVISIONING_PROFILE_SPECIFIER = esmat Development
PROVISIONING_PROFILE_SPECIFIER =
6 changes: 3 additions & 3 deletions ReleaseTemplate.xcconfig → Configs/ReleaseTemplate.xcconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974

PRODUCT_BUNDLE_IDENTIFIER =
#include "Shared.xcconfig"

CODE_SIGN_IDENTITY = Developer ID Application
DEVELOPMENT_TEAM =
PROVISIONING_PROFILE_SPECIFIER = esmat Distribution
PROVISIONING_PROFILE_SPECIFIER =
3 changes: 3 additions & 0 deletions Configs/SharedTemplate.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

PRODUCT_BUNDLE_IDENTIFIER =
DEVELOPMENT_TEAM =
12 changes: 11 additions & 1 deletion esmat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
110B3DCA27A031D80085AB76 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
113734A527A2A5E1003DC1DA /* Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
113734A627A2A750003DC1DA /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
113734A727A2BE84003DC1DA /* Shared.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Shared.xcconfig; sourceTree = "<group>"; };
1170BC892797E3B800773A26 /* Types.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; path = Types.h; sourceTree = "<group>"; };
11859AEF266F94D300FFA942 /* esmat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = esmat.app; sourceTree = BUILT_PRODUCTS_DIR; };
11859AFA266F94D400FFA942 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand All @@ -37,11 +38,20 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
11859AD7266F93CA00FFA942 = {
113734A827A2BEA7003DC1DA /* Configs */ = {
isa = PBXGroup;
children = (
113734A727A2BE84003DC1DA /* Shared.xcconfig */,
113734A527A2A5E1003DC1DA /* Debug.xcconfig */,
113734A627A2A750003DC1DA /* Release.xcconfig */,
);
path = Configs;
sourceTree = "<group>";
};
11859AD7266F93CA00FFA942 = {
isa = PBXGroup;
children = (
113734A827A2BEA7003DC1DA /* Configs */,
110B3DCA27A031D80085AB76 /* LICENSE */,
110B3DC927A0311F0085AB76 /* .gitignore */,
110B3DC827A030FE0085AB76 /* README.md */,
Expand Down

0 comments on commit f9d79e6

Please sign in to comment.