Skip to content

Commit

Permalink
Fix signing issues; upgrade CoreGPX.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentneo committed Jan 9, 2020
1 parent 8d5b19f commit c5ac904
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 18 deletions.
38 changes: 24 additions & 14 deletions GPXCompressor.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
BF6660EA2398FECE00C51AB6 /* Document.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF6660E92398FECE00C51AB6 /* Document.swift */; };
BF6660EC2398FECF00C51AB6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BF6660EB2398FECF00C51AB6 /* Assets.xcassets */; };
BF6660EF2398FECF00C51AB6 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF6660ED2398FECF00C51AB6 /* Main.storyboard */; };
BF6660FF239900EC00C51AB6 /* CoreGPX in Frameworks */ = {isa = PBXBuildFile; productRef = BF6660FE239900EC00C51AB6 /* CoreGPX */; };
BF9B01AA23C74257000B5DC0 /* CoreGPX in Frameworks */ = {isa = PBXBuildFile; productRef = BF9B01A923C74257000B5DC0 /* CoreGPX */; };
BFE119FE239BBE0A00820D2C /* DocumentController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFE119FD239BBE0A00820D2C /* DocumentController.swift */; };
/* End PBXBuildFile section */

Expand All @@ -33,7 +33,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
BF6660FF239900EC00C51AB6 /* CoreGPX in Frameworks */,
BF9B01AA23C74257000B5DC0 /* CoreGPX in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -88,7 +88,7 @@
);
name = GPXCompressor;
packageProductDependencies = (
BF6660FE239900EC00C51AB6 /* CoreGPX */,
BF9B01A923C74257000B5DC0 /* CoreGPX */,
);
productName = GPXCompressor;
productReference = BF6660E22398FECE00C51AB6 /* GPXCompressor.app */;
Expand All @@ -101,7 +101,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1100;
LastUpgradeCheck = 1100;
LastUpgradeCheck = 1130;
ORGANIZATIONNAME = Vincent;
TargetAttributes = {
BF6660E12398FECD00C51AB6 = {
Expand All @@ -119,7 +119,7 @@
);
mainGroup = BF6660D92398FECD00C51AB6;
packageReferences = (
BF6660FD239900EC00C51AB6 /* XCRemoteSwiftPackageReference "CoreGPX" */,
BF9B01A823C74257000B5DC0 /* XCRemoteSwiftPackageReference "CoreGPX" */,
);
productRefGroup = BF6660E32398FECE00C51AB6 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -218,7 +218,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -272,7 +272,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
Expand All @@ -286,17 +286,21 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = GPXCompressor/GPXCompressor.entitlements;
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 3X69W4AQD6;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = GPXCompressor/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = neo.vincent.GPXCompressor;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
};
name = Debug;
Expand All @@ -306,17 +310,23 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = GPXCompressor/GPXCompressor.entitlements;
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 3X69W4AQD6;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
GCC_OPTIMIZATION_LEVEL = fast;
INFOPLIST_FILE = GPXCompressor/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = neo.vincent.GPXCompressor;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
};
name = Release;
Expand Down Expand Up @@ -345,7 +355,7 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
BF6660FD239900EC00C51AB6 /* XCRemoteSwiftPackageReference "CoreGPX" */ = {
BF9B01A823C74257000B5DC0 /* XCRemoteSwiftPackageReference "CoreGPX" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/vincentneo/CoreGPX.git";
requirement = {
Expand All @@ -356,9 +366,9 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
BF6660FE239900EC00C51AB6 /* CoreGPX */ = {
BF9B01A923C74257000B5DC0 /* CoreGPX */ = {
isa = XCSwiftPackageProductDependency;
package = BF6660FD239900EC00C51AB6 /* XCRemoteSwiftPackageReference "CoreGPX" */;
package = BF9B01A823C74257000B5DC0 /* XCRemoteSwiftPackageReference "CoreGPX" */;
productName = CoreGPX;
};
/* End XCSwiftPackageProductDependency section */
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "CoreGPX",
"repositoryURL": "https://github.com/vincentneo/CoreGPX.git",
"state": {
"branch": "enhancements/56",
"revision": "f0357c219edafd7887ed8c4cc6187b1b5e1646a0",
"version": null
}
}
]
},
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BF6660E12398FECD00C51AB6"
BuildableName = "GPXCompressor.app"
BlueprintName = "GPXCompressor"
ReferencedContainer = "container:GPXCompressor.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BF6660E12398FECD00C51AB6"
BuildableName = "GPXCompressor.app"
BlueprintName = "GPXCompressor"
ReferencedContainer = "container:GPXCompressor.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BF6660E12398FECD00C51AB6"
BuildableName = "GPXCompressor.app"
BlueprintName = "GPXCompressor"
ReferencedContainer = "container:GPXCompressor.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
4 changes: 2 additions & 2 deletions GPXCompressor/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions GPXCompressor/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ class ViewController: NSViewController {

@IBAction func processButtonClicked(_ sender: NSButton) {
DispatchQueue.global(qos: .userInitiated).async {
var compressType: GPXParser.lossyTypes = .stripDuplicates
var compressType: GPXCompression.lossyTypes = .stripDuplicates

var options = [GPXParser.lossyOptions]()
var options = [GPXCompression.lossyOptions]()
var exit = false

DispatchQueue.main.sync {
Expand Down

0 comments on commit c5ac904

Please sign in to comment.