Skip to content

Commit d7a38dd

Browse files
committed
Apply Xcode 8 recommended build settings
1 parent e5f020b commit d7a38dd

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Action.xcodeproj/project.pbxproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
BE73AD171CDCD101006F8B98 /* Project object */ = {
123123
isa = PBXProject;
124124
attributes = {
125-
LastUpgradeCheck = 0730;
125+
LastUpgradeCheck = 0800;
126126
ORGANIZATIONNAME = CezaryKopacz;
127127
TargetAttributes = {
128128
BE73AD1F1CDCD101006F8B98 = {
@@ -187,8 +187,10 @@
187187
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
188188
CLANG_WARN_EMPTY_BODY = YES;
189189
CLANG_WARN_ENUM_CONVERSION = YES;
190+
CLANG_WARN_INFINITE_RECURSION = YES;
190191
CLANG_WARN_INT_CONVERSION = YES;
191192
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
193+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
192194
CLANG_WARN_UNREACHABLE_CODE = YES;
193195
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
194196
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -236,8 +238,10 @@
236238
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
237239
CLANG_WARN_EMPTY_BODY = YES;
238240
CLANG_WARN_ENUM_CONVERSION = YES;
241+
CLANG_WARN_INFINITE_RECURSION = YES;
239242
CLANG_WARN_INT_CONVERSION = YES;
240243
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
244+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
241245
CLANG_WARN_UNREACHABLE_CODE = YES;
242246
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
243247
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -257,6 +261,7 @@
257261
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
258262
MTL_ENABLE_DEBUG_INFO = NO;
259263
SDKROOT = iphoneos;
264+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
260265
TARGETED_DEVICE_FAMILY = "1,2";
261266
VALIDATE_PRODUCT = YES;
262267
VERSIONING_SYSTEM = "apple-generic";
@@ -268,6 +273,7 @@
268273
isa = XCBuildConfiguration;
269274
buildSettings = {
270275
CLANG_ENABLE_MODULES = YES;
276+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
271277
DEFINES_MODULE = YES;
272278
DYLIB_COMPATIBILITY_VERSION = 1;
273279
DYLIB_CURRENT_VERSION = 1;
@@ -291,6 +297,7 @@
291297
isa = XCBuildConfiguration;
292298
buildSettings = {
293299
CLANG_ENABLE_MODULES = YES;
300+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
294301
DEFINES_MODULE = YES;
295302
DYLIB_COMPATIBILITY_VERSION = 1;
296303
DYLIB_CURRENT_VERSION = 1;

Action.xcodeproj/xcshareddata/xcschemes/Action.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0730"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)