Skip to content

Commit 7d47972

Browse files
committed
Update to recommended build settings
1 parent f4733a7 commit 7d47972

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

Example/Pods/Pods.xcodeproj/project.pbxproj

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

Example/TactileSlider.xcodeproj/project.pbxproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
isa = PBXProject;
208208
attributes = {
209209
LastSwiftUpdateCheck = 0830;
210-
LastUpgradeCheck = 0830;
210+
LastUpgradeCheck = 1140;
211211
ORGANIZATIONNAME = CocoaPods;
212212
TargetAttributes = {
213213
607FACCF1AFB9204008FA782 = {
@@ -382,6 +382,7 @@
382382
isa = XCBuildConfiguration;
383383
buildSettings = {
384384
ALWAYS_SEARCH_USER_PATHS = NO;
385+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
385386
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
386387
CLANG_CXX_LIBRARY = "libc++";
387388
CLANG_ENABLE_MODULES = YES;
@@ -390,12 +391,14 @@
390391
CLANG_WARN_BOOL_CONVERSION = YES;
391392
CLANG_WARN_COMMA = YES;
392393
CLANG_WARN_CONSTANT_CONVERSION = YES;
394+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
393395
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
394396
CLANG_WARN_EMPTY_BODY = YES;
395397
CLANG_WARN_ENUM_CONVERSION = YES;
396398
CLANG_WARN_INFINITE_RECURSION = YES;
397399
CLANG_WARN_INT_CONVERSION = YES;
398400
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
401+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
399402
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
400403
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
401404
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -435,6 +438,7 @@
435438
isa = XCBuildConfiguration;
436439
buildSettings = {
437440
ALWAYS_SEARCH_USER_PATHS = NO;
441+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
438442
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
439443
CLANG_CXX_LIBRARY = "libc++";
440444
CLANG_ENABLE_MODULES = YES;
@@ -443,12 +447,14 @@
443447
CLANG_WARN_BOOL_CONVERSION = YES;
444448
CLANG_WARN_COMMA = YES;
445449
CLANG_WARN_CONSTANT_CONVERSION = YES;
450+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
446451
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
447452
CLANG_WARN_EMPTY_BODY = YES;
448453
CLANG_WARN_ENUM_CONVERSION = YES;
449454
CLANG_WARN_INFINITE_RECURSION = YES;
450455
CLANG_WARN_INT_CONVERSION = YES;
451456
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
457+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
452458
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
453459
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
454460
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;

Example/TactileSlider.xcodeproj/xcshareddata/xcschemes/TactileSlider-Example.xcscheme

Lines changed: 10 additions & 16 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 = "0900"
3+
LastUpgradeVersion = "1140"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -40,8 +40,16 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43-
language = ""
4443
shouldUseLaunchSchemeArgsEnv = "YES">
44+
<MacroExpansion>
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
48+
BuildableName = "TactileSlider_Example.app"
49+
BlueprintName = "TactileSlider_Example"
50+
ReferencedContainer = "container:TactileSlider.xcodeproj">
51+
</BuildableReference>
52+
</MacroExpansion>
4553
<Testables>
4654
<TestableReference
4755
skipped = "NO">
@@ -54,23 +62,11 @@
5462
</BuildableReference>
5563
</TestableReference>
5664
</Testables>
57-
<MacroExpansion>
58-
<BuildableReference
59-
BuildableIdentifier = "primary"
60-
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
61-
BuildableName = "TactileSlider_Example.app"
62-
BlueprintName = "TactileSlider_Example"
63-
ReferencedContainer = "container:TactileSlider.xcodeproj">
64-
</BuildableReference>
65-
</MacroExpansion>
66-
<AdditionalOptions>
67-
</AdditionalOptions>
6865
</TestAction>
6966
<LaunchAction
7067
buildConfiguration = "Debug"
7168
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7269
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
73-
language = ""
7470
launchStyle = "0"
7571
useCustomWorkingDirectory = "NO"
7672
ignoresPersistentStateOnLaunch = "NO"
@@ -87,8 +83,6 @@
8783
ReferencedContainer = "container:TactileSlider.xcodeproj">
8884
</BuildableReference>
8985
</BuildableProductRunnable>
90-
<AdditionalOptions>
91-
</AdditionalOptions>
9286
</LaunchAction>
9387
<ProfileAction
9488
buildConfiguration = "Release"

0 commit comments

Comments
 (0)