Skip to content

Commit

Permalink
util-build: Fix Team ID handling
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Jun 11, 2018
1 parent c7829d2 commit 4201d22
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libexec/util-build
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ setup_build () {

cp -a "$PROJECT_FILE_PATH"/project.pbxproj "$PROJECT_FILE_PATH"/project.pbxproj.$REL_BAK_EXT

if [[ "${team_id:-undefined}" != undefined ]]; then
if [[ "${_TEAM_ID:-undefined}" != undefined ]]; then
__replace_development_team $_TEAM_ID
fi

Expand Down
5 changes: 2 additions & 3 deletions sample/SampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@
};
1A3E89841DDFC39A00609422 = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = J3D7L9FHSS;
ProvisioningStyle = Automatic;
};
1AF19FDB1DE474E600C6318E = {
Expand Down Expand Up @@ -442,7 +441,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = J3D7L9FHSS;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = SampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -457,7 +456,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = J3D7L9FHSS;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = SampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit 4201d22

Please sign in to comment.