Skip to content

Commit 8ac8a92

Browse files
committed
Touching a few Xcode projects with latest version of Xcode
1 parent c45575c commit 8ac8a92

File tree

5 files changed

+42
-12
lines changed

5 files changed

+42
-12
lines changed

GCD/Xcode/ConnectTest/Desktop/ConnectTest.xcodeproj/project.pbxproj

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
DC5778A213DBBF2E007881FC /* Project object */ = {
201201
isa = PBXProject;
202202
attributes = {
203-
LastUpgradeCheck = 0450;
203+
LastUpgradeCheck = 0500;
204204
};
205205
buildConfigurationList = DC5778A513DBBF2E007881FC /* Build configuration list for PBXProject "ConnectTest" */;
206206
compatibilityVersion = "Xcode 3.2";
@@ -284,9 +284,14 @@
284284
DC5778C713DBBF2E007881FC /* Debug */ = {
285285
isa = XCBuildConfiguration;
286286
buildSettings = {
287-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
288287
CLANG_ENABLE_OBJC_ARC = YES;
288+
CLANG_WARN_BOOL_CONVERSION = YES;
289+
CLANG_WARN_CONSTANT_CONVERSION = YES;
290+
CLANG_WARN_EMPTY_BODY = YES;
291+
CLANG_WARN_ENUM_CONVERSION = YES;
292+
CLANG_WARN_INT_CONVERSION = YES;
289293
CLANG_WARN_OBJCPP_ARC_ABI = YES;
294+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
290295
COMBINE_HIDPI_IMAGES = YES;
291296
GCC_C_LANGUAGE_STANDARD = gnu99;
292297
GCC_OPTIMIZATION_LEVEL = 0;
@@ -304,6 +309,7 @@
304309
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
305310
GCC_WARN_SHADOW = YES;
306311
GCC_WARN_UNDECLARED_SELECTOR = YES;
312+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
307313
GCC_WARN_UNKNOWN_PRAGMAS = YES;
308314
GCC_WARN_UNUSED_FUNCTION = YES;
309315
GCC_WARN_UNUSED_LABEL = YES;
@@ -318,9 +324,14 @@
318324
DC5778C813DBBF2E007881FC /* Release */ = {
319325
isa = XCBuildConfiguration;
320326
buildSettings = {
321-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
322327
CLANG_ENABLE_OBJC_ARC = YES;
328+
CLANG_WARN_BOOL_CONVERSION = YES;
329+
CLANG_WARN_CONSTANT_CONVERSION = YES;
330+
CLANG_WARN_EMPTY_BODY = YES;
331+
CLANG_WARN_ENUM_CONVERSION = YES;
332+
CLANG_WARN_INT_CONVERSION = YES;
323333
CLANG_WARN_OBJCPP_ARC_ABI = YES;
334+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
324335
COMBINE_HIDPI_IMAGES = YES;
325336
GCC_C_LANGUAGE_STANDARD = gnu99;
326337
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
@@ -335,6 +346,7 @@
335346
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
336347
GCC_WARN_SHADOW = YES;
337348
GCC_WARN_UNDECLARED_SELECTOR = YES;
349+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
338350
GCC_WARN_UNKNOWN_PRAGMAS = YES;
339351
GCC_WARN_UNUSED_FUNCTION = YES;
340352
GCC_WARN_UNUSED_LABEL = YES;

GCD/Xcode/ConnectTest/Mobile/ConnectTest.xcodeproj/project.pbxproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
DCDE284F13DDEC74006BFCC0 /* Project object */ = {
207207
isa = PBXProject;
208208
attributes = {
209-
LastUpgradeCheck = 0420;
209+
LastUpgradeCheck = 0500;
210210
};
211211
buildConfigurationList = DCDE285213DDEC74006BFCC0 /* Build configuration list for PBXProject "ConnectTest" */;
212212
compatibilityVersion = "Xcode 3.2";
@@ -292,7 +292,6 @@
292292
DCDE287713DDEC74006BFCC0 /* Debug */ = {
293293
isa = XCBuildConfiguration;
294294
buildSettings = {
295-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
296295
CLANG_ENABLE_OBJC_ARC = YES;
297296
CLANG_WARN_OBJCPP_ARC_ABI = YES;
298297
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -304,14 +303,14 @@
304303
GCC_WARN_ABOUT_RETURN_TYPE = YES;
305304
GCC_WARN_UNUSED_VARIABLE = YES;
306305
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
306+
ONLY_ACTIVE_ARCH = YES;
307307
SDKROOT = iphoneos;
308308
};
309309
name = Debug;
310310
};
311311
DCDE287813DDEC74006BFCC0 /* Release */ = {
312312
isa = XCBuildConfiguration;
313313
buildSettings = {
314-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
315314
CLANG_ENABLE_OBJC_ARC = YES;
316315
CLANG_WARN_OBJCPP_ARC_ABI = YES;
317316
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";

GCD/Xcode/EchoServer/EchoServer.xcodeproj/project.pbxproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
29B97313FDCFA39411CA2CEA /* Project object */ = {
208208
isa = PBXProject;
209209
attributes = {
210-
LastUpgradeCheck = 0450;
210+
LastUpgradeCheck = 0500;
211211
};
212212
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "EchoServer" */;
213213
compatibilityVersion = "Xcode 3.2";
@@ -316,7 +316,6 @@
316316
C01FCF4F08A954540054247B /* Debug */ = {
317317
isa = XCBuildConfiguration;
318318
buildSettings = {
319-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
320319
CLANG_ENABLE_OBJC_ARC = YES;
321320
CLANG_WARN_OBJCPP_ARC_ABI = YES;
322321
COMBINE_HIDPI_IMAGES = YES;
@@ -348,7 +347,6 @@
348347
C01FCF5008A954540054247B /* Release */ = {
349348
isa = XCBuildConfiguration;
350349
buildSettings = {
351-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
352350
CLANG_ENABLE_OBJC_ARC = YES;
353351
CLANG_WARN_OBJCPP_ARC_ABI = YES;
354352
COMBINE_HIDPI_IMAGES = YES;
18.2 KB
Loading

GCD/Xcode/UdpEchoClient/Mobile/UdpEchoClient.xcodeproj/project.pbxproj

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
DC49317917F9F88F00402F77 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC49317817F9F88F00402F77 /* Default-568h@2x.png */; };
1011
DCC96ACD152E11210064C500 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCC96ACC152E11210064C500 /* UIKit.framework */; };
1112
DCC96ACF152E11210064C500 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCC96ACE152E11210064C500 /* Foundation.framework */; };
1213
DCC96AD1152E11210064C500 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCC96AD0152E11210064C500 /* CoreGraphics.framework */; };
@@ -27,6 +28,7 @@
2728
/* End PBXBuildFile section */
2829

2930
/* Begin PBXFileReference section */
31+
DC49317817F9F88F00402F77 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "../Default-568h@2x.png"; sourceTree = "<group>"; };
3032
DCC96AC8152E11210064C500 /* UdpEchoClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UdpEchoClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
3133
DCC96ACC152E11210064C500 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
3234
DCC96ACE152E11210064C500 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -118,6 +120,7 @@
118120
DCC96AD3152E11210064C500 /* Supporting Files */ = {
119121
isa = PBXGroup;
120122
children = (
123+
DC49317817F9F88F00402F77 /* Default-568h@2x.png */,
121124
DCC96AD4152E11210064C500 /* UdpEchoClient-Info.plist */,
122125
DCC96AD5152E11210064C500 /* InfoPlist.strings */,
123126
DCC96AD8152E11210064C500 /* main.m */,
@@ -192,7 +195,7 @@
192195
DCC96ABF152E11210064C500 /* Project object */ = {
193196
isa = PBXProject;
194197
attributes = {
195-
LastUpgradeCheck = 0430;
198+
LastUpgradeCheck = 0500;
196199
};
197200
buildConfigurationList = DCC96AC2152E11210064C500 /* Build configuration list for PBXProject "UdpEchoClient" */;
198201
compatibilityVersion = "Xcode 3.2";
@@ -217,6 +220,7 @@
217220
buildActionMask = 2147483647;
218221
files = (
219222
DCC96AD7152E11210064C500 /* InfoPlist.strings in Resources */,
223+
DC49317917F9F88F00402F77 /* Default-568h@2x.png in Resources */,
220224
DCC96AE3152E11210064C500 /* ViewController.xib in Resources */,
221225
DCC96B05152E11450064C500 /* README.txt in Resources */,
222226
);
@@ -269,8 +273,13 @@
269273
isa = XCBuildConfiguration;
270274
buildSettings = {
271275
ALWAYS_SEARCH_USER_PATHS = NO;
272-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
273276
CLANG_ENABLE_OBJC_ARC = YES;
277+
CLANG_WARN_BOOL_CONVERSION = YES;
278+
CLANG_WARN_CONSTANT_CONVERSION = YES;
279+
CLANG_WARN_EMPTY_BODY = YES;
280+
CLANG_WARN_ENUM_CONVERSION = YES;
281+
CLANG_WARN_INT_CONVERSION = YES;
282+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
274283
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
275284
COPY_PHASE_STRIP = NO;
276285
GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -282,10 +291,14 @@
282291
);
283292
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
284293
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
294+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
285295
GCC_WARN_ABOUT_RETURN_TYPE = YES;
296+
GCC_WARN_UNDECLARED_SELECTOR = YES;
286297
GCC_WARN_UNINITIALIZED_AUTOS = YES;
298+
GCC_WARN_UNUSED_FUNCTION = YES;
287299
GCC_WARN_UNUSED_VARIABLE = YES;
288300
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
301+
ONLY_ACTIVE_ARCH = YES;
289302
SDKROOT = iphoneos;
290303
};
291304
name = Debug;
@@ -294,14 +307,22 @@
294307
isa = XCBuildConfiguration;
295308
buildSettings = {
296309
ALWAYS_SEARCH_USER_PATHS = NO;
297-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
298310
CLANG_ENABLE_OBJC_ARC = YES;
311+
CLANG_WARN_BOOL_CONVERSION = YES;
312+
CLANG_WARN_CONSTANT_CONVERSION = YES;
313+
CLANG_WARN_EMPTY_BODY = YES;
314+
CLANG_WARN_ENUM_CONVERSION = YES;
315+
CLANG_WARN_INT_CONVERSION = YES;
316+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
299317
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
300318
COPY_PHASE_STRIP = YES;
301319
GCC_C_LANGUAGE_STANDARD = gnu99;
302320
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
321+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
303322
GCC_WARN_ABOUT_RETURN_TYPE = YES;
323+
GCC_WARN_UNDECLARED_SELECTOR = YES;
304324
GCC_WARN_UNINITIALIZED_AUTOS = YES;
325+
GCC_WARN_UNUSED_FUNCTION = YES;
305326
GCC_WARN_UNUSED_VARIABLE = YES;
306327
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
307328
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";

0 commit comments

Comments
 (0)