Skip to content

Commit 23514e4

Browse files
committed
Updating a few Xcode project files to the latest Xcode recommended settings
1 parent fccfe6d commit 23514e4

File tree

5 files changed

+70
-13
lines changed

5 files changed

+70
-13
lines changed

RunLoop/Xcode/EchoServer/EchoServer.xcodeproj/project.pbxproj

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
29B97313FDCFA39411CA2CEA /* Project object */ = {
149149
isa = PBXProject;
150150
attributes = {
151-
LastUpgradeCheck = 0430;
151+
LastUpgradeCheck = 0510;
152152
};
153153
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "EchoServer" */;
154154
compatibilityVersion = "Xcode 3.2";
@@ -217,6 +217,7 @@
217217
C01FCF4B08A954540054247B /* Debug */ = {
218218
isa = XCBuildConfiguration;
219219
buildSettings = {
220+
COMBINE_HIDPI_IMAGES = YES;
220221
COPY_PHASE_STRIP = NO;
221222
GCC_DYNAMIC_NO_PIC = NO;
222223
GCC_OPTIMIZATION_LEVEL = 0;
@@ -232,6 +233,7 @@
232233
C01FCF4C08A954540054247B /* Release */ = {
233234
isa = XCBuildConfiguration;
234235
buildSettings = {
236+
COMBINE_HIDPI_IMAGES = YES;
235237
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
236238
GCC_PRECOMPILE_PREFIX_HEADER = YES;
237239
GCC_PREFIX_HEADER = EchoServer_Prefix.pch;
@@ -245,15 +247,23 @@
245247
C01FCF4F08A954540054247B /* Debug */ = {
246248
isa = XCBuildConfiguration;
247249
buildSettings = {
248-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
249250
CLANG_ENABLE_OBJC_ARC = YES;
251+
CLANG_WARN_BOOL_CONVERSION = YES;
252+
CLANG_WARN_CONSTANT_CONVERSION = YES;
253+
CLANG_WARN_EMPTY_BODY = YES;
254+
CLANG_WARN_ENUM_CONVERSION = YES;
255+
CLANG_WARN_INT_CONVERSION = YES;
250256
CLANG_WARN_OBJCPP_ARC_ABI = YES;
257+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
251258
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
252259
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
253260
GCC_WARN_ABOUT_RETURN_TYPE = YES;
254261
GCC_WARN_MISSING_PARENTHESES = YES;
255262
GCC_WARN_SHADOW = YES;
256263
GCC_WARN_SIGN_COMPARE = YES;
264+
GCC_WARN_UNDECLARED_SELECTOR = YES;
265+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
266+
GCC_WARN_UNUSED_FUNCTION = YES;
257267
GCC_WARN_UNUSED_VARIABLE = YES;
258268
ONLY_ACTIVE_ARCH = YES;
259269
SDKROOT = macosx;
@@ -263,15 +273,23 @@
263273
C01FCF5008A954540054247B /* Release */ = {
264274
isa = XCBuildConfiguration;
265275
buildSettings = {
266-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
267276
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;
268282
CLANG_WARN_OBJCPP_ARC_ABI = YES;
283+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
269284
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
270285
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
271286
GCC_WARN_ABOUT_RETURN_TYPE = YES;
272287
GCC_WARN_MISSING_PARENTHESES = YES;
273288
GCC_WARN_SHADOW = YES;
274289
GCC_WARN_SIGN_COMPARE = YES;
290+
GCC_WARN_UNDECLARED_SELECTOR = YES;
291+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
292+
GCC_WARN_UNUSED_FUNCTION = YES;
275293
GCC_WARN_UNUSED_VARIABLE = YES;
276294
SDKROOT = macosx;
277295
};
18.2 KB
Loading

RunLoop/Xcode/InterfaceTest/InterfaceTest.xcodeproj/project.pbxproj

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 45;
6+
objectVersion = 46;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -17,6 +17,7 @@
1717
28D7ACF80DDB3853001CB0EB /* InterfaceTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* InterfaceTestViewController.m */; };
1818
DC84662D1293A7C4001C71DF /* AsyncSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = DC84662C1293A7C4001C71DF /* AsyncSocket.m */; };
1919
DC8466311293A801001C71DF /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC8466301293A801001C71DF /* CFNetwork.framework */; };
20+
DC98AD3418FA3B7A00C50790 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC98AD3318FA3B7A00C50790 /* Default-568h@2x.png */; };
2021
/* End PBXBuildFile section */
2122

2223
/* Begin PBXFileReference section */
@@ -36,6 +37,7 @@
3637
DC84662B1293A7C4001C71DF /* AsyncSocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AsyncSocket.h; path = ../../AsyncSocket.h; sourceTree = SOURCE_ROOT; };
3738
DC84662C1293A7C4001C71DF /* AsyncSocket.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AsyncSocket.m; path = ../../AsyncSocket.m; sourceTree = SOURCE_ROOT; };
3839
DC8466301293A801001C71DF /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
40+
DC98AD3318FA3B7A00C50790 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
3941
/* End PBXFileReference section */
4042

4143
/* Begin PBXFrameworksBuildPhase section */
@@ -77,6 +79,7 @@
7779
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
7880
isa = PBXGroup;
7981
children = (
82+
DC98AD3318FA3B7A00C50790 /* Default-568h@2x.png */,
8083
080E96DDFE201D6D7F000001 /* Classes */,
8184
29B97315FDCFA39411CA2CEA /* Other Sources */,
8285
29B97317FDCFA39411CA2CEA /* Resources */,
@@ -141,8 +144,11 @@
141144
/* Begin PBXProject section */
142145
29B97313FDCFA39411CA2CEA /* Project object */ = {
143146
isa = PBXProject;
147+
attributes = {
148+
LastUpgradeCheck = 0510;
149+
};
144150
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "InterfaceTest" */;
145-
compatibilityVersion = "Xcode 3.1";
151+
compatibilityVersion = "Xcode 3.2";
146152
developmentRegion = English;
147153
hasScannedForEncodings = 1;
148154
knownRegions = (
@@ -167,6 +173,7 @@
167173
files = (
168174
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,
169175
2899E5220DE3E06400AC0155 /* InterfaceTestViewController.xib in Resources */,
176+
DC98AD3418FA3B7A00C50790 /* Default-568h@2x.png in Resources */,
170177
);
171178
runOnlyForDeploymentPostprocessing = 0;
172179
};
@@ -223,11 +230,11 @@
223230
C01FCF4F08A954540054247B /* Debug */ = {
224231
isa = XCBuildConfiguration;
225232
buildSettings = {
226-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
227233
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
228234
GCC_C_LANGUAGE_STANDARD = c99;
229235
GCC_WARN_ABOUT_RETURN_TYPE = YES;
230236
GCC_WARN_UNUSED_VARIABLE = YES;
237+
ONLY_ACTIVE_ARCH = YES;
231238
PREBINDING = NO;
232239
SDKROOT = iphoneos;
233240
};
@@ -236,7 +243,6 @@
236243
C01FCF5008A954540054247B /* Release */ = {
237244
isa = XCBuildConfiguration;
238245
buildSettings = {
239-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
240246
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
241247
GCC_C_LANGUAGE_STANDARD = c99;
242248
GCC_WARN_ABOUT_RETURN_TYPE = YES;

RunLoop/Xcode/UdpEchoClient/UdpEchoClient.xcodeproj/project.pbxproj

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
DC50573F15292038005A70E5 /* Project object */ = {
142142
isa = PBXProject;
143143
attributes = {
144-
LastUpgradeCheck = 0430;
144+
LastUpgradeCheck = 0510;
145145
};
146146
buildConfigurationList = DC50574215292038005A70E5 /* Build configuration list for PBXProject "UdpEchoClient" */;
147147
compatibilityVersion = "Xcode 3.2";
@@ -218,8 +218,13 @@
218218
isa = XCBuildConfiguration;
219219
buildSettings = {
220220
ALWAYS_SEARCH_USER_PATHS = NO;
221-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
222221
CLANG_ENABLE_OBJC_ARC = YES;
222+
CLANG_WARN_BOOL_CONVERSION = YES;
223+
CLANG_WARN_CONSTANT_CONVERSION = YES;
224+
CLANG_WARN_EMPTY_BODY = YES;
225+
CLANG_WARN_ENUM_CONVERSION = YES;
226+
CLANG_WARN_INT_CONVERSION = YES;
227+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
223228
COPY_PHASE_STRIP = NO;
224229
GCC_C_LANGUAGE_STANDARD = gnu99;
225230
GCC_DYNAMIC_NO_PIC = NO;
@@ -233,7 +238,9 @@
233238
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
234239
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
235240
GCC_WARN_ABOUT_RETURN_TYPE = YES;
241+
GCC_WARN_UNDECLARED_SELECTOR = YES;
236242
GCC_WARN_UNINITIALIZED_AUTOS = YES;
243+
GCC_WARN_UNUSED_FUNCTION = YES;
237244
GCC_WARN_UNUSED_VARIABLE = YES;
238245
MACOSX_DEPLOYMENT_TARGET = 10.7;
239246
ONLY_ACTIVE_ARCH = YES;
@@ -245,16 +252,23 @@
245252
isa = XCBuildConfiguration;
246253
buildSettings = {
247254
ALWAYS_SEARCH_USER_PATHS = NO;
248-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
249255
CLANG_ENABLE_OBJC_ARC = YES;
256+
CLANG_WARN_BOOL_CONVERSION = YES;
257+
CLANG_WARN_CONSTANT_CONVERSION = YES;
258+
CLANG_WARN_EMPTY_BODY = YES;
259+
CLANG_WARN_ENUM_CONVERSION = YES;
260+
CLANG_WARN_INT_CONVERSION = YES;
261+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
250262
COPY_PHASE_STRIP = YES;
251263
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
252264
GCC_C_LANGUAGE_STANDARD = gnu99;
253265
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
254266
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
255267
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
256268
GCC_WARN_ABOUT_RETURN_TYPE = YES;
269+
GCC_WARN_UNDECLARED_SELECTOR = YES;
257270
GCC_WARN_UNINITIALIZED_AUTOS = YES;
271+
GCC_WARN_UNUSED_FUNCTION = YES;
258272
GCC_WARN_UNUSED_VARIABLE = YES;
259273
MACOSX_DEPLOYMENT_TARGET = 10.7;
260274
SDKROOT = macosx;
@@ -264,6 +278,7 @@
264278
DC5057671529203A005A70E5 /* Debug */ = {
265279
isa = XCBuildConfiguration;
266280
buildSettings = {
281+
COMBINE_HIDPI_IMAGES = YES;
267282
GCC_PRECOMPILE_PREFIX_HEADER = YES;
268283
GCC_PREFIX_HEADER = "UdpEchoClient/UdpEchoClient-Prefix.pch";
269284
INFOPLIST_FILE = "UdpEchoClient/UdpEchoClient-Info.plist";
@@ -275,6 +290,7 @@
275290
DC5057681529203A005A70E5 /* Release */ = {
276291
isa = XCBuildConfiguration;
277292
buildSettings = {
293+
COMBINE_HIDPI_IMAGES = YES;
278294
GCC_PRECOMPILE_PREFIX_HEADER = YES;
279295
GCC_PREFIX_HEADER = "UdpEchoClient/UdpEchoClient-Prefix.pch";
280296
INFOPLIST_FILE = "UdpEchoClient/UdpEchoClient-Info.plist";
@@ -302,6 +318,7 @@
302318
DC5057681529203A005A70E5 /* Release */,
303319
);
304320
defaultConfigurationIsVisible = 0;
321+
defaultConfigurationName = Release;
305322
};
306323
/* End XCConfigurationList section */
307324
};

RunLoop/Xcode/UdpEchoServer/UdpEchoServer.xcodeproj/project.pbxproj

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
DC2F15E7152914FF001380A6 /* Project object */ = {
142142
isa = PBXProject;
143143
attributes = {
144-
LastUpgradeCheck = 0430;
144+
LastUpgradeCheck = 0510;
145145
};
146146
buildConfigurationList = DC2F15EA152914FF001380A6 /* Build configuration list for PBXProject "UdpEchoServer" */;
147147
compatibilityVersion = "Xcode 3.2";
@@ -218,8 +218,13 @@
218218
isa = XCBuildConfiguration;
219219
buildSettings = {
220220
ALWAYS_SEARCH_USER_PATHS = NO;
221-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
222221
CLANG_ENABLE_OBJC_ARC = YES;
222+
CLANG_WARN_BOOL_CONVERSION = YES;
223+
CLANG_WARN_CONSTANT_CONVERSION = YES;
224+
CLANG_WARN_EMPTY_BODY = YES;
225+
CLANG_WARN_ENUM_CONVERSION = YES;
226+
CLANG_WARN_INT_CONVERSION = YES;
227+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
223228
COPY_PHASE_STRIP = NO;
224229
GCC_C_LANGUAGE_STANDARD = gnu99;
225230
GCC_DYNAMIC_NO_PIC = NO;
@@ -233,7 +238,9 @@
233238
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
234239
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
235240
GCC_WARN_ABOUT_RETURN_TYPE = YES;
241+
GCC_WARN_UNDECLARED_SELECTOR = YES;
236242
GCC_WARN_UNINITIALIZED_AUTOS = YES;
243+
GCC_WARN_UNUSED_FUNCTION = YES;
237244
GCC_WARN_UNUSED_VARIABLE = YES;
238245
MACOSX_DEPLOYMENT_TARGET = 10.7;
239246
ONLY_ACTIVE_ARCH = YES;
@@ -245,16 +252,23 @@
245252
isa = XCBuildConfiguration;
246253
buildSettings = {
247254
ALWAYS_SEARCH_USER_PATHS = NO;
248-
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
249255
CLANG_ENABLE_OBJC_ARC = YES;
256+
CLANG_WARN_BOOL_CONVERSION = YES;
257+
CLANG_WARN_CONSTANT_CONVERSION = YES;
258+
CLANG_WARN_EMPTY_BODY = YES;
259+
CLANG_WARN_ENUM_CONVERSION = YES;
260+
CLANG_WARN_INT_CONVERSION = YES;
261+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
250262
COPY_PHASE_STRIP = YES;
251263
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
252264
GCC_C_LANGUAGE_STANDARD = gnu99;
253265
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
254266
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
255267
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
256268
GCC_WARN_ABOUT_RETURN_TYPE = YES;
269+
GCC_WARN_UNDECLARED_SELECTOR = YES;
257270
GCC_WARN_UNINITIALIZED_AUTOS = YES;
271+
GCC_WARN_UNUSED_FUNCTION = YES;
258272
GCC_WARN_UNUSED_VARIABLE = YES;
259273
MACOSX_DEPLOYMENT_TARGET = 10.7;
260274
SDKROOT = macosx;
@@ -264,6 +278,7 @@
264278
DC2F160F15291501001380A6 /* Debug */ = {
265279
isa = XCBuildConfiguration;
266280
buildSettings = {
281+
COMBINE_HIDPI_IMAGES = YES;
267282
GCC_PRECOMPILE_PREFIX_HEADER = YES;
268283
GCC_PREFIX_HEADER = "UdpEchoServer/UdpEchoServer-Prefix.pch";
269284
INFOPLIST_FILE = "UdpEchoServer/UdpEchoServer-Info.plist";
@@ -275,6 +290,7 @@
275290
DC2F161015291501001380A6 /* Release */ = {
276291
isa = XCBuildConfiguration;
277292
buildSettings = {
293+
COMBINE_HIDPI_IMAGES = YES;
278294
GCC_PRECOMPILE_PREFIX_HEADER = YES;
279295
GCC_PREFIX_HEADER = "UdpEchoServer/UdpEchoServer-Prefix.pch";
280296
INFOPLIST_FILE = "UdpEchoServer/UdpEchoServer-Info.plist";

0 commit comments

Comments
 (0)