From 1ab88a1f6eaf1877b1bf8ed670e2681dc1455caf Mon Sep 17 00:00:00 2001
From: Roberto Vieira <roberto.vieira@sherpany.com>
Date: Mon, 12 Oct 2020 12:21:26 +0100
Subject: [PATCH] Fix Xcode 12 warnings.

---
 .../xcode/package.xcworkspace/contents.xcworkspacedata    | 7 +++++++
 Package.swift                                             | 2 +-
 SwiftEventBus.podspec                                     | 2 +-
 SwiftEventBus.xcodeproj/project.pbxproj                   | 8 +++++---
 .../xcshareddata/IDEWorkspaceChecks.plist                 | 8 ++++++++
 .../xcshareddata/xcschemes/SwiftEventBus.xcscheme         | 6 +-----
 6 files changed, 23 insertions(+), 10 deletions(-)
 create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
 create mode 100644 SwiftEventBus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..919434a
--- /dev/null
+++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:">
+   </FileRef>
+</Workspace>
diff --git a/Package.swift b/Package.swift
index a4704a2..63b35b4 100644
--- a/Package.swift
+++ b/Package.swift
@@ -4,7 +4,7 @@ import PackageDescription
 
 let package = Package(name: "SwiftEventBus",
                       platforms: [.macOS(.v10_10),
-                                  .iOS(.v8)],
+                                  .iOS(.v9)],
                       
                       products: [.library(name: "SwiftEventBus",
                                           targets: ["SwiftEventBus"])],
diff --git a/SwiftEventBus.podspec b/SwiftEventBus.podspec
index 5dae8e9..150157c 100644
--- a/SwiftEventBus.podspec
+++ b/SwiftEventBus.podspec
@@ -7,7 +7,7 @@ Pod::Spec.new do |s|
   s.social_media_url = 'http://twitter.com/cesarmcferreira'
   s.authors = { 'César Ferreira' => 'cesar.manuel.ferreira@gmail.com' }
   s.source = { :git => 'https://github.com/cesarferreira/SwiftEventBus.git', :tag => s.version }
-  s.ios.deployment_target = '8.0'
+  s.ios.deployment_target = '9.0'
   s.osx.deployment_target = '10.10'
   s.source_files = 'SwiftEventBus/SwiftEventBus.swift'
   s.requires_arc = true
diff --git a/SwiftEventBus.xcodeproj/project.pbxproj b/SwiftEventBus.xcodeproj/project.pbxproj
index 9519281..b5939ea 100644
--- a/SwiftEventBus.xcodeproj/project.pbxproj
+++ b/SwiftEventBus.xcodeproj/project.pbxproj
@@ -151,7 +151,7 @@
 			isa = PBXProject;
 			attributes = {
 				LastSwiftUpdateCheck = 0800;
-				LastUpgradeCheck = 1020;
+				LastUpgradeCheck = 1200;
 				ORGANIZATIONNAME = "Cesar Ferreira";
 				TargetAttributes = {
 					DBCE8D491D8DD5160012B477 = {
@@ -273,6 +273,7 @@
 				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
 				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 				CLANG_WARN_STRICT_PROTOTYPES = YES;
 				CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -337,6 +338,7 @@
 				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
 				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 				CLANG_WARN_STRICT_PROTOTYPES = YES;
 				CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -381,7 +383,7 @@
 				DYLIB_INSTALL_NAME_BASE = "@rpath";
 				INFOPLIST_FILE = SwiftEventBus/Info.plist;
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
 				PRODUCT_BUNDLE_IDENTIFIER = cesarferreira.SwiftEventBus;
 				PRODUCT_NAME = "$(TARGET_NAME)";
@@ -402,7 +404,7 @@
 				DYLIB_INSTALL_NAME_BASE = "@rpath";
 				INFOPLIST_FILE = SwiftEventBus/Info.plist;
 				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
 				PRODUCT_BUNDLE_IDENTIFIER = cesarferreira.SwiftEventBus;
 				PRODUCT_NAME = "$(TARGET_NAME)";
diff --git a/SwiftEventBus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SwiftEventBus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/SwiftEventBus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -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>
diff --git a/SwiftEventBus.xcodeproj/xcshareddata/xcschemes/SwiftEventBus.xcscheme b/SwiftEventBus.xcodeproj/xcshareddata/xcschemes/SwiftEventBus.xcscheme
index 220a0f5..3fe7b4d 100644
--- a/SwiftEventBus.xcodeproj/xcshareddata/xcschemes/SwiftEventBus.xcscheme
+++ b/SwiftEventBus.xcodeproj/xcshareddata/xcschemes/SwiftEventBus.xcscheme
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "0800"
+   LastUpgradeVersion = "1200"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"
@@ -29,8 +29,6 @@
       shouldUseLaunchSchemeArgsEnv = "YES">
       <Testables>
       </Testables>
-      <AdditionalOptions>
-      </AdditionalOptions>
    </TestAction>
    <LaunchAction
       buildConfiguration = "Debug"
@@ -51,8 +49,6 @@
             ReferencedContainer = "container:SwiftEventBus.xcodeproj">
          </BuildableReference>
       </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
    </LaunchAction>
    <ProfileAction
       buildConfiguration = "Release"