Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added unversioned TeamID infrastructure. #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ FDWaveformView.framework.zip

# Swift project manager
.swiftpm

# User-specific xcconfig files
iOS Example/Xcode-config/DEVELOPMENT_TEAM.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DEVELOPMENT_TEAM = AB1234C5DE
49 changes: 49 additions & 0 deletions iOS Example/Xcode-config/Shared.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#include? "DEVELOPMENT_TEAM.xcconfig"

// Create the file DEVELOPMENT_TEAM.xcconfig
// in the "Xcode-config" directory within the project directory
// with the following build setting:
// DEVELOPMENT_TEAM = [Your TeamID]

// One way to find your Team ID is to set the “Development Team”
// build setting (Xcode key: "DEVELOPMENT_TEAM") and have a look
// at the “Source Control” changes (menu item “Commit…”/⌥⌘C).
// Just make sure that this change doesn’t actually get commited.

// You can also find your Team ID by logging into your Apple Developer account
// and going to
// https://developer.apple.com/account/#/membership
// It should be listed under “Team ID”.

// To set this system up for your own project,
// copy the "Xcode-config" directory there,
// add it to your Xcode project,
// navigate to your project settings
// (root icon in the Xcode Project Navigator)
// click on the project icon there,
// click on the “Info” tab
// under “Configurations”
// open the “Debug”, “Release”,
// and any other build configurations you might have.
// There you can set the pull-down menus in the
// “Based on Configuration File” column to “Shared”.
// Your work in Xcode is done.

// Don’t forget to add the DEVELOPMENT_TEAM.xcconfig file to your .gitignore:
// # User-specific xcconfig files
// Xcode-config/DEVELOPMENT_TEAM.xcconfig
// The two lines above are an example.
// Please don’t copy the comment slashes over though.

// You can and should now replace the “DevelopmentTeam = AB1234C5DE;” entries in
// .xcodeproj/project.pbxproj
// with “DevelopmentTeam = "";”
// They would otherwise override the Team ID set via this config file and its include.
// Please note that .pbxproj files use straight quotes.

// When you commit changes to the Xcode project file
// after changing settings in “Signing & Capabilities”
// Entries like these may appear in your file changes/commit diff preview:
// CODE_SIGN_IDENTITY = …;
// CODE_SIGN_STYLE = Manual/Automatic;
// Please make sure not to commit them to source control.
25 changes: 22 additions & 3 deletions iOS Example/iOS Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
objects = {

/* Begin PBXBuildFile section */
3D4FAE662706FFD8000EFCC8 /* DEVELOPMENT_TEAM.template.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 3D4FAE632706FFD8000EFCC8 /* DEVELOPMENT_TEAM.template.xcconfig */; };
3D4FAE672706FFD8000EFCC8 /* DEVELOPMENT_TEAM.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 3D4FAE642706FFD8000EFCC8 /* DEVELOPMENT_TEAM.xcconfig */; };
3D4FAE682706FFD8000EFCC8 /* Shared.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 3D4FAE652706FFD8000EFCC8 /* Shared.xcconfig */; };
C4D2819B2383FB4F009DD34E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C4D281962383FB4F009DD34E /* Assets.xcassets */; };
C4D281B02383FD0A009DD34E /* Submarine.aiff in Resources */ = {isa = PBXBuildFile; fileRef = C4D281AC2383FD0A009DD34E /* Submarine.aiff */; };
C4D281B12383FD0A009DD34E /* TchaikovskyExample2.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = C4D281AD2383FD0A009DD34E /* TchaikovskyExample2.mp3 */; };
Expand All @@ -33,6 +36,9 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
3D4FAE632706FFD8000EFCC8 /* DEVELOPMENT_TEAM.template.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DEVELOPMENT_TEAM.template.xcconfig; sourceTree = "<group>"; };
3D4FAE642706FFD8000EFCC8 /* DEVELOPMENT_TEAM.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DEVELOPMENT_TEAM.xcconfig; sourceTree = "<group>"; };
3D4FAE652706FFD8000EFCC8 /* Shared.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Shared.xcconfig; sourceTree = "<group>"; };
C4D281962383FB4F009DD34E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C4D281972383FB4F009DD34E /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C4D281AC2383FD0A009DD34E /* Submarine.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; path = Submarine.aiff; sourceTree = "<group>"; };
Expand All @@ -58,6 +64,16 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
3D4FAE622706FFD8000EFCC8 /* Xcode-config */ = {
isa = PBXGroup;
children = (
3D4FAE632706FFD8000EFCC8 /* DEVELOPMENT_TEAM.template.xcconfig */,
3D4FAE642706FFD8000EFCC8 /* DEVELOPMENT_TEAM.xcconfig */,
3D4FAE652706FFD8000EFCC8 /* Shared.xcconfig */,
);
path = "Xcode-config";
sourceTree = "<group>";
};
C4D281A82383FC0A009DD34E /* Frameworks */ = {
isa = PBXGroup;
children = (
Expand All @@ -82,6 +98,7 @@
D94BE1BB1CCEBF2C0042282A /* Sources */,
D94BE1BA1CCEBF2C0042282A /* Products */,
C4D281A82383FC0A009DD34E /* Frameworks */,
3D4FAE622706FFD8000EFCC8 /* Xcode-config */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -144,7 +161,6 @@
TargetAttributes = {
D94BE1B81CCEBF2C0042282A = {
CreatedOnToolsVersion = 7.3;
DevelopmentTeam = 8Q693ZG5RN;
LastSwiftMigration = 1020;
};
};
Expand Down Expand Up @@ -172,10 +188,13 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3D4FAE672706FFD8000EFCC8 /* DEVELOPMENT_TEAM.xcconfig in Resources */,
3D4FAE682706FFD8000EFCC8 /* Shared.xcconfig in Resources */,
C4D281B92383FD3E009DD34E /* Main.storyboard in Resources */,
C4D281B82383FD3E009DD34E /* Launch Screen.storyboard in Resources */,
C4D281B02383FD0A009DD34E /* Submarine.aiff in Resources */,
C4D281B22383FD0A009DD34E /* TchaikovskyExample2.m4a in Resources */,
3D4FAE662706FFD8000EFCC8 /* DEVELOPMENT_TEAM.template.xcconfig in Resources */,
C4D2819B2383FB4F009DD34E /* Assets.xcassets in Resources */,
C4D281B32383FD0A009DD34E /* TchaikovskyExample2.ogg in Resources */,
C4D281B12383FD0A009DD34E /* TchaikovskyExample2.mp3 in Resources */,
Expand Down Expand Up @@ -225,6 +244,7 @@
/* Begin XCBuildConfiguration section */
D94BE1C91CCEBF2C0042282A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D4FAE652706FFD8000EFCC8 /* Shared.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
Expand Down Expand Up @@ -283,6 +303,7 @@
};
D94BE1CA1CCEBF2C0042282A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D4FAE652706FFD8000EFCC8 /* Shared.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
Expand Down Expand Up @@ -339,7 +360,6 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 8Q693ZG5RN;
FRAMEWORK_SEARCH_PATHS = "";
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
Expand All @@ -358,7 +378,6 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 8Q693ZG5RN;
FRAMEWORK_SEARCH_PATHS = "";
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
Expand Down