From 399c17c78c3c2d010e0573bda4834af8c8957b76 Mon Sep 17 00:00:00 2001 From: Dave Date: Sat, 21 Sep 2019 00:23:58 -0400 Subject: [PATCH] Fix Swift 5.1 and Xcode 11 Warnings --- SwiftGraph.xcodeproj/project.pbxproj | 8 ++++-- .../xcschemes/SwiftGraph.xcscheme | 28 ++++++++----------- .../SwiftGraphPerformanceTests.xcscheme | 28 ++++++++----------- .../xcschemes/SwiftGraphSampleApp.xcscheme | 24 +++++++--------- .../SwiftGraphTests/DijkstraGraphTests.swift | 6 ++-- .../SwiftGraphCodableTests.swift | 2 +- 6 files changed, 43 insertions(+), 53 deletions(-) diff --git a/SwiftGraph.xcodeproj/project.pbxproj b/SwiftGraph.xcodeproj/project.pbxproj index 1bd4349..b5edc6a 100644 --- a/SwiftGraph.xcodeproj/project.pbxproj +++ b/SwiftGraph.xcodeproj/project.pbxproj @@ -436,7 +436,7 @@ attributes = { LastSwiftMigration = 0710; LastSwiftUpdateCheck = 0820; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1100; ORGANIZATIONNAME = "Oak Snow Consulting"; TargetAttributes = { 55E620011A194C80000A5F7B = { @@ -457,10 +457,9 @@ }; buildConfigurationList = 55E61FFD1A194C7F000A5F7B /* Build configuration list for PBXProject "SwiftGraph" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - English, en, Base, ); @@ -722,6 +721,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = SwiftGraphSampleApp/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; @@ -738,6 +738,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = SwiftGraphSampleApp/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; @@ -986,6 +987,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = SwiftGraphSampleApp/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; diff --git a/SwiftGraph.xcodeproj/xcshareddata/xcschemes/SwiftGraph.xcscheme b/SwiftGraph.xcodeproj/xcshareddata/xcschemes/SwiftGraph.xcscheme index eeae66e..31a873a 100644 --- a/SwiftGraph.xcodeproj/xcshareddata/xcschemes/SwiftGraph.xcscheme +++ b/SwiftGraph.xcodeproj/xcshareddata/xcschemes/SwiftGraph.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> + + + + @@ -40,17 +49,6 @@ - - - - - - - - + systemAttachmentLifetime = "keepNever"> + + + + @@ -55,17 +64,6 @@ - - - - - - - - + + + + @@ -39,17 +48,6 @@ - - - - - - - -