Skip to content

Commit 1ab88a1

Browse files
author
Roberto Vieira
committed
Fix Xcode 12 warnings.
1 parent cea5121 commit 1ab88a1

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44

55
let package = Package(name: "SwiftEventBus",
66
platforms: [.macOS(.v10_10),
7-
.iOS(.v8)],
7+
.iOS(.v9)],
88

99
products: [.library(name: "SwiftEventBus",
1010
targets: ["SwiftEventBus"])],

SwiftEventBus.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Pod::Spec.new do |s|
77
s.social_media_url = 'http://twitter.com/cesarmcferreira'
88
s.authors = { 'César Ferreira' => '[email protected]' }
99
s.source = { :git => 'https://github.com/cesarferreira/SwiftEventBus.git', :tag => s.version }
10-
s.ios.deployment_target = '8.0'
10+
s.ios.deployment_target = '9.0'
1111
s.osx.deployment_target = '10.10'
1212
s.source_files = 'SwiftEventBus/SwiftEventBus.swift'
1313
s.requires_arc = true

SwiftEventBus.xcodeproj/project.pbxproj

+5-3
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
isa = PBXProject;
152152
attributes = {
153153
LastSwiftUpdateCheck = 0800;
154-
LastUpgradeCheck = 1020;
154+
LastUpgradeCheck = 1200;
155155
ORGANIZATIONNAME = "Cesar Ferreira";
156156
TargetAttributes = {
157157
DBCE8D491D8DD5160012B477 = {
@@ -273,6 +273,7 @@
273273
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
274274
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
275275
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
276+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
276277
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
277278
CLANG_WARN_STRICT_PROTOTYPES = YES;
278279
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -337,6 +338,7 @@
337338
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
338339
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
339340
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
341+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
340342
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
341343
CLANG_WARN_STRICT_PROTOTYPES = YES;
342344
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -381,7 +383,7 @@
381383
DYLIB_INSTALL_NAME_BASE = "@rpath";
382384
INFOPLIST_FILE = SwiftEventBus/Info.plist;
383385
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
384-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
386+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
385387
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
386388
PRODUCT_BUNDLE_IDENTIFIER = cesarferreira.SwiftEventBus;
387389
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -402,7 +404,7 @@
402404
DYLIB_INSTALL_NAME_BASE = "@rpath";
403405
INFOPLIST_FILE = SwiftEventBus/Info.plist;
404406
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
405-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
407+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
406408
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
407409
PRODUCT_BUNDLE_IDENTIFIER = cesarferreira.SwiftEventBus;
408410
PRODUCT_NAME = "$(TARGET_NAME)";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

SwiftEventBus.xcodeproj/xcshareddata/xcschemes/SwiftEventBus.xcscheme

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -29,8 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<AdditionalOptions>
33-
</AdditionalOptions>
3432
</TestAction>
3533
<LaunchAction
3634
buildConfiguration = "Debug"
@@ -51,8 +49,6 @@
5149
ReferencedContainer = "container:SwiftEventBus.xcodeproj">
5250
</BuildableReference>
5351
</MacroExpansion>
54-
<AdditionalOptions>
55-
</AdditionalOptions>
5652
</LaunchAction>
5753
<ProfileAction
5854
buildConfiguration = "Release"

0 commit comments

Comments
 (0)