From cea5121162d88f233f392f63acbc8468fdd77927 Mon Sep 17 00:00:00 2001 From: Cesar Ferreira Date: Wed, 4 Dec 2019 00:07:42 +0000 Subject: [PATCH 1/2] changed readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d0a2a13..469ccab 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,12 @@ Allows publish-subscribe-style communication between components without requirin ### Cocoapods ```bash -pod 'SwiftEventBus', :tag => '5.0.0', :git => 'https://github.com/cesarferreira/SwiftEventBus.git' +pod 'SwiftEventBus', :tag => '5.0.1', :git => 'https://github.com/cesarferreira/SwiftEventBus.git' ``` ### Carthage ```bash -github "cesarferreira/SwiftEventBus" == 5.0.0 +github "cesarferreira/SwiftEventBus" == 5.0.1 ``` ### Versions From 1ab88a1f6eaf1877b1bf8ed670e2681dc1455caf Mon Sep 17 00:00:00 2001 From: Roberto Vieira Date: Mon, 12 Oct 2020 12:21:26 +0100 Subject: [PATCH 2/2] 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 @@ + + + + + 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 @@ + + + + + IDEDidComputeMac32BitWarning + + + 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 @@ - - - -