Skip to content

Commit

Permalink
add script for bundle version increment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklandrin committed Sep 28, 2022
1 parent 10c4636 commit 70a2dcb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 11 deletions.
24 changes: 14 additions & 10 deletions OnlySwitch.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2140,8 +2140,9 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = OnlySwitch/OnlySwitch.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_ASSET_PATHS = "\"OnlySwitch/Preview Content\"";
Expand Down Expand Up @@ -2171,7 +2172,7 @@
OTHER_SWIFT_FLAGS = "-enforce-exclusivity=unchecked";
PRODUCT_BUNDLE_IDENTIFIER = jacklandrin.OnlySwitch;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = jacklandrin.onlyswitch.profile;
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "OnlySwitch/Header/OnlySwitch-Bridging-Header.h";
Expand All @@ -2191,8 +2192,9 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = OnlySwitch/OnlySwitch.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_ASSET_PATHS = "\"OnlySwitch/Preview Content\"";
Expand Down Expand Up @@ -2222,7 +2224,7 @@
OTHER_SWIFT_FLAGS = "-enforce-exclusivity=unchecked";
PRODUCT_BUNDLE_IDENTIFIER = jacklandrin.OnlySwitch;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = jacklandrin.onlyswitch.profile;
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "OnlySwitch/Header/OnlySwitch-Bridging-Header.h";
Expand All @@ -2239,8 +2241,9 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = IntentsExtension/IntentsExtension.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_TEAM = B22726TNGH;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -2269,8 +2272,9 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = IntentsExtension/IntentsExtension.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_TEAM = B22726TNGH;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down
20 changes: 19 additions & 1 deletion OnlySwitch.xcodeproj/xcshareddata/xcschemes/OnlySwitch.xcscheme
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
version = "1.3">
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
Expand Down Expand Up @@ -74,5 +74,23 @@
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
<PostActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "cd &quot;${PROJECT_DIR}&quot; ; agvtool bump&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04447B572754F08000CD2900"
BuildableName = "OnlySwitch.app"
BlueprintName = "OnlySwitch"
ReferencedContainer = "container:OnlySwitch.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PostActions>
</ArchiveAction>
</Scheme>

0 comments on commit 70a2dcb

Please sign in to comment.