Skip to content

Commit ea82fa4

Browse files
Fix Xcode warnings
1 parent 12b5bbf commit ea82fa4

File tree

6 files changed

+17
-13
lines changed

6 files changed

+17
-13
lines changed

KissXML.xcodeproj/project.pbxproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
0DCD8DC11E54A3A2001D9832 /* Project object */ = {
344344
isa = PBXProject;
345345
attributes = {
346-
LastUpgradeCheck = 0900;
346+
LastUpgradeCheck = 0940;
347347
ORGANIZATIONNAME = robbiehanson;
348348
TargetAttributes = {
349349
0DCD8DC91E54A3A3001D9832 = {
@@ -472,13 +472,15 @@
472472
CLANG_WARN_BOOL_CONVERSION = YES;
473473
CLANG_WARN_COMMA = YES;
474474
CLANG_WARN_CONSTANT_CONVERSION = YES;
475+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
475476
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
476477
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
477478
CLANG_WARN_EMPTY_BODY = YES;
478479
CLANG_WARN_ENUM_CONVERSION = YES;
479480
CLANG_WARN_INFINITE_RECURSION = YES;
480481
CLANG_WARN_INT_CONVERSION = YES;
481482
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
483+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
482484
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
483485
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
484486
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -533,13 +535,15 @@
533535
CLANG_WARN_BOOL_CONVERSION = YES;
534536
CLANG_WARN_COMMA = YES;
535537
CLANG_WARN_CONSTANT_CONVERSION = YES;
538+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
536539
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
537540
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
538541
CLANG_WARN_EMPTY_BODY = YES;
539542
CLANG_WARN_ENUM_CONVERSION = YES;
540543
CLANG_WARN_INFINITE_RECURSION = YES;
541544
CLANG_WARN_INT_CONVERSION = YES;
542545
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
546+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
543547
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
544548
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
545549
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
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>

KissXML.xcodeproj/xcshareddata/xcschemes/KissXML (iOS).xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0940"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -37,7 +36,6 @@
3736
buildConfiguration = "Debug"
3837
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3938
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40-
language = ""
4139
launchStyle = "0"
4240
useCustomWorkingDirectory = "NO"
4341
ignoresPersistentStateOnLaunch = "NO"

KissXML.xcodeproj/xcshareddata/xcschemes/KissXML (macOS).xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0940"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -37,7 +36,6 @@
3736
buildConfiguration = "Debug"
3837
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3938
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40-
language = ""
4139
launchStyle = "0"
4240
useCustomWorkingDirectory = "NO"
4341
ignoresPersistentStateOnLaunch = "NO"

KissXML.xcodeproj/xcshareddata/xcschemes/KissXML (tvOS).xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0940"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -37,7 +36,6 @@
3736
buildConfiguration = "Debug"
3837
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3938
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40-
language = ""
4139
launchStyle = "0"
4240
useCustomWorkingDirectory = "NO"
4341
ignoresPersistentStateOnLaunch = "NO"

KissXML.xcodeproj/xcshareddata/xcschemes/KissXML (watchOS).xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0940"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -37,7 +36,6 @@
3736
buildConfiguration = "Debug"
3837
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3938
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40-
language = ""
4139
launchStyle = "0"
4240
useCustomWorkingDirectory = "NO"
4341
ignoresPersistentStateOnLaunch = "NO"

0 commit comments

Comments
 (0)