Skip to content

Commit

Permalink
Update version, deployment target and settings
Browse files Browse the repository at this point in the history
Also add a new scheme for packaging, not that it actually helps much TBH
  • Loading branch information
Lord-Kamina committed Sep 27, 2017
1 parent c5f0078 commit b1c7df2
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Resources/Prefpane_Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.1.0</string>
<key>CFBundleVersion</key>
<string>159</string>
<string>209</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 Gregorio Litenstein Goldzweig. All rights reserved.</string>
<key>NSMainNibFile</key>
Expand Down
24 changes: 12 additions & 12 deletions SWDA Prefpane.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
EB14B8A01E4B63E7008AB27B /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB14B89F1E4B63E7008AB27B /* Cocoa.framework */; };
EB5BFC661E946ED600253EC3 /* SynchronizedArray.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB5BFC651E946ED600253EC3 /* SynchronizedArray.swift */; };
EBA6B0981EB6E5EB0080A783 /* ThisAppDoesNothing.app in Resources */ = {isa = PBXBuildFile; fileRef = EBE2B0A01EB4155000BD157C /* ThisAppDoesNothing.app */; };
EBA6B0A51EB6EB300080A783 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = EBA6B0A31EB6EB300080A783 /* LICENSE */; };
EBA6B0A71EB6EB470080A783 /* LICENSE in CopyFiles */ = {isa = PBXBuildFile; fileRef = EBA6B0A31EB6EB300080A783 /* LICENSE */; };
EBA6B0A81EB6EB4A0080A783 /* README.md in CopyFiles */ = {isa = PBXBuildFile; fileRef = EBA6B0A41EB6EB300080A783 /* README.md */; };
EBC487A21E49073400A9A125 /* PreferencePanes.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBC487A11E49073400A9A125 /* PreferencePanes.framework */; };
Expand Down Expand Up @@ -65,14 +64,14 @@
/* Begin PBXCopyFilesBuildPhase section */
EBA6B0A21EB6EB000080A783 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
buildActionMask = 8;
dstPath = "";
dstSubfolderSpec = 16;
dstSubfolderSpec = 1;
files = (
EBA6B0A71EB6EB470080A783 /* LICENSE in CopyFiles */,
EBA6B0A81EB6EB4A0080A783 /* README.md in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */

Expand Down Expand Up @@ -241,9 +240,9 @@
EBD61FD41E47EC3C00549EE8 /* Sources */,
EBD61FD51E47EC3C00549EE8 /* Frameworks */,
EBD61FD61E47EC3C00549EE8 /* Headers */,
EBA6B0A21EB6EB000080A783 /* CopyFiles */,
EBD61FD71E47EC3C00549EE8 /* Resources */,
EBF28D7D1EB50E030027935E /* ShellScript */,
EBA6B0A21EB6EB000080A783 /* CopyFiles */,
);
buildRules = (
);
Expand Down Expand Up @@ -331,7 +330,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
EBA6B0A51EB6EB300080A783 /* LICENSE in Resources */,
EB0F5A271E6894DF004BAA85 /* SWDAPrefpaneMain.xib in Resources */,
EB0F5A2A1E6894DF004BAA85 /* SWDASchemesUTIsContent.xib in Resources */,
EB0F5A2B1E6894DF004BAA85 /* SWDAPrefpaneTabTemplate.xib in Resources */,
Expand All @@ -345,14 +343,14 @@
/* Begin PBXShellScriptBuildPhase section */
EBF28D7D1EB50E030027935E /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
buildActionMask = 8;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
runOnlyForDeploymentPostprocessing = 1;
shellPath = /bin/sh;
shellScript = "#!/bin/bash\nbuildNumber=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" \"$INFOPLIST_FILE\")\nbuildNumber=$(($buildNumber + 1))\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"$INFOPLIST_FILE\"";
};
Expand Down Expand Up @@ -438,7 +436,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IBC_FLATTEN_NIBS = NO;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_SWIFT_FLAGS = "-D Prefpane";
Expand Down Expand Up @@ -491,7 +489,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IBC_FLATTEN_NIBS = NO;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_SWIFT_FLAGS = "-D Prefpane";
SDKROOT = macosx;
Expand All @@ -507,7 +505,7 @@
ALWAYS_SEARCH_USER_PATHS = YES;
CLANG_ENABLE_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1.0;
CURRENT_PROJECT_VERSION = 1.1.0;
INFOPLIST_FILE = "$(SRCROOT)/Resources/Prefpane_Info.plist";
INSTALL_PATH = "$(HOME)/Library/PreferencePanes";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
Expand All @@ -517,6 +515,7 @@
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_EXPORT_DECL = "";
WRAPPER_EXTENSION = prefPane;
};
name = Debug;
Expand All @@ -527,7 +526,7 @@
ALWAYS_SEARCH_USER_PATHS = YES;
CLANG_ENABLE_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1.0;
CURRENT_PROJECT_VERSION = 1.1.0;
INFOPLIST_FILE = "$(SRCROOT)/Resources/Prefpane_Info.plist";
INSTALL_PATH = "$(HOME)/Library/PreferencePanes";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
Expand All @@ -536,6 +535,7 @@
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_EXPORT_DECL = "";
WRAPPER_EXTENSION = prefPane;
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "[ -d ~/Library/PreferencePanes/SwiftDefaultApps.prefpane ] &amp;&amp; rm -Rv ~/Library/PreferencePanes/SwiftDefaultApps.prefpane&#10; cp -Rf &quot;${CONFIGURATION_BUILD_DIR}/SwiftDefaultApps.prefpane&quot; ~/Library/PreferencePanes/&#10; [ -d &quot;${CONFIGURATION_BUILD_DIR}/ThisAppDoesNothing.app&quot; ] &amp;&amp; rm -Rv &quot;${CONFIGURATION_BUILD_DIR}/ThisAppDoesNothing.app&quot;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "[ -d ~/Library/PreferencePanes/SwiftDefaultApps.prefpane ] &amp;&amp; rm -Rv ~/Library/PreferencePanes/SwiftDefaultApps.prefpane&#10;cp -Rf &quot;${CONFIGURATION_BUILD_DIR}/SwiftDefaultApps.prefpane&quot; ~/Library/PreferencePanes/&#10;[ -d &quot;${CONFIGURATION_BUILD_DIR}/ThisAppDoesNothing.app&quot; ] &amp;&amp; rm -Rv &quot;${CONFIGURATION_BUILD_DIR}/ThisAppDoesNothing.app&quot;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<PathRunnable
runnableDebuggingMode = "0"
BundleIdentifier = "com.apple.systempreferences"
FilePath = "/Applications/System Preferences.app">
</PathRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</MacroExpansion>
<EnvironmentVariables>
<EnvironmentVariable
key = "OBJC_DISABLE_GC"
value = "YES"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Debug"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "[ -d ~/Library/PreferencePanes/SwiftDefaultApps.prefpane ] &amp;&amp; rm -Rv ~/Library/PreferencePanes/SwiftDefaultApps.prefpane&#10;cp -Rf &quot;${CONFIGURATION_BUILD_DIR}/SwiftDefaultApps.prefpane&quot; ~/Library/PreferencePanes/">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<PathRunnable
runnableDebuggingMode = "0"
BundleIdentifier = "com.apple.systempreferences"
FilePath = "/Applications/System Preferences.app">
</PathRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EBD61FD81E47EC3C00549EE8"
BuildableName = "SwiftDefaultApps.prefPane"
BlueprintName = "SwiftDefaultApps"
ReferencedContainer = "container:SWDA Prefpane.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
customArchiveName = "SwiftDefaultApps"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit b1c7df2

Please sign in to comment.