Skip to content

Commit 91b7260

Browse files
committed
Chapter 2 mac
1 parent fed429f commit 91b7260

File tree

3 files changed

+27
-9
lines changed

3 files changed

+27
-9
lines changed

Chapter02/Chapter3-mac.xcodeproj/project.pbxproj renamed to Chapter02/Chapter02-mac.xcodeproj/project.pbxproj

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@
116116
92E46DEF1B634EA30035CD21 /* Project object */ = {
117117
isa = PBXProject;
118118
attributes = {
119-
LastUpgradeCheck = 0720;
119+
LastUpgradeCheck = 0920;
120120
ORGANIZATIONNAME = "Sanjay Madhav";
121121
TargetAttributes = {
122122
92E46DF61B634EA30035CD21 = {
123123
CreatedOnToolsVersion = 6.4;
124124
};
125125
};
126126
};
127-
buildConfigurationList = 92E46DF21B634EA30035CD21 /* Build configuration list for PBXProject "Chapter3-mac" */;
127+
buildConfigurationList = 92E46DF21B634EA30035CD21 /* Build configuration list for PBXProject "Chapter02-mac" */;
128128
compatibilityVersion = "Xcode 3.2";
129129
developmentRegion = English;
130130
hasScannedForEncodings = 0;
@@ -185,13 +185,21 @@
185185
CLANG_CXX_LIBRARY = "libc++";
186186
CLANG_ENABLE_MODULES = YES;
187187
CLANG_ENABLE_OBJC_ARC = YES;
188+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
188189
CLANG_WARN_BOOL_CONVERSION = YES;
190+
CLANG_WARN_COMMA = YES;
189191
CLANG_WARN_CONSTANT_CONVERSION = YES;
190192
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
191193
CLANG_WARN_EMPTY_BODY = YES;
192194
CLANG_WARN_ENUM_CONVERSION = YES;
195+
CLANG_WARN_INFINITE_RECURSION = YES;
193196
CLANG_WARN_INT_CONVERSION = YES;
197+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
198+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
194199
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
200+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
201+
CLANG_WARN_STRICT_PROTOTYPES = YES;
202+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
195203
CLANG_WARN_UNREACHABLE_CODE = YES;
196204
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
197205
COPY_PHASE_STRIP = NO;
@@ -228,13 +236,21 @@
228236
CLANG_CXX_LIBRARY = "libc++";
229237
CLANG_ENABLE_MODULES = YES;
230238
CLANG_ENABLE_OBJC_ARC = YES;
239+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
231240
CLANG_WARN_BOOL_CONVERSION = YES;
241+
CLANG_WARN_COMMA = YES;
232242
CLANG_WARN_CONSTANT_CONVERSION = YES;
233243
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
234244
CLANG_WARN_EMPTY_BODY = YES;
235245
CLANG_WARN_ENUM_CONVERSION = YES;
246+
CLANG_WARN_INFINITE_RECURSION = YES;
236247
CLANG_WARN_INT_CONVERSION = YES;
248+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
249+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
237250
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
251+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
252+
CLANG_WARN_STRICT_PROTOTYPES = YES;
253+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
238254
CLANG_WARN_UNREACHABLE_CODE = YES;
239255
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
240256
COPY_PHASE_STRIP = NO;
@@ -318,7 +334,7 @@
318334
/* End XCBuildConfiguration section */
319335

320336
/* Begin XCConfigurationList section */
321-
92E46DF21B634EA30035CD21 /* Build configuration list for PBXProject "Chapter3-mac" */ = {
337+
92E46DF21B634EA30035CD21 /* Build configuration list for PBXProject "Chapter02-mac" */ = {
322338
isa = XCConfigurationList;
323339
buildConfigurations = (
324340
92E46DFC1B634EA40035CD21 /* Debug */,

Chapter02/Chapter3-mac.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to Chapter02/Chapter02-mac.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Chapter02/Chapter3-mac.xcodeproj/xcshareddata/xcschemes/Game-mac.xcscheme renamed to Chapter02/Chapter02-mac.xcodeproj/xcshareddata/xcschemes/Game-mac.xcscheme

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0830"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -17,7 +17,7 @@
1717
BlueprintIdentifier = "92E46DF61B634EA30035CD21"
1818
BuildableName = "Game-mac"
1919
BlueprintName = "Game-mac"
20-
ReferencedContainer = "container:Chapter3-mac.xcodeproj">
20+
ReferencedContainer = "container:Chapter02-mac.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
2323
</BuildActionEntries>
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>
@@ -35,7 +36,7 @@
3536
BlueprintIdentifier = "92E46DF61B634EA30035CD21"
3637
BuildableName = "Game-mac"
3738
BlueprintName = "Game-mac"
38-
ReferencedContainer = "container:Chapter3-mac.xcodeproj">
39+
ReferencedContainer = "container:Chapter02-mac.xcodeproj">
3940
</BuildableReference>
4041
</MacroExpansion>
4142
<AdditionalOptions>
@@ -45,6 +46,7 @@
4546
buildConfiguration = "Debug"
4647
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4748
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
49+
language = ""
4850
launchStyle = "0"
4951
useCustomWorkingDirectory = "YES"
5052
customWorkingDirectory = "$(SRCROOT)"
@@ -59,7 +61,7 @@
5961
BlueprintIdentifier = "92E46DF61B634EA30035CD21"
6062
BuildableName = "Game-mac"
6163
BlueprintName = "Game-mac"
62-
ReferencedContainer = "container:Chapter3-mac.xcodeproj">
64+
ReferencedContainer = "container:Chapter02-mac.xcodeproj">
6365
</BuildableReference>
6466
</BuildableProductRunnable>
6567
<AdditionalOptions>
@@ -78,7 +80,7 @@
7880
BlueprintIdentifier = "92E46DF61B634EA30035CD21"
7981
BuildableName = "Game-mac"
8082
BlueprintName = "Game-mac"
81-
ReferencedContainer = "container:Chapter3-mac.xcodeproj">
83+
ReferencedContainer = "container:Chapter02-mac.xcodeproj">
8284
</BuildableReference>
8385
</BuildableProductRunnable>
8486
</ProfileAction>

0 commit comments

Comments
 (0)