Skip to content

Commit c43ac5f

Browse files
committed
Update to Swift 5
1 parent 94a4e98 commit c43ac5f

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.2
1+
5.0

TextFieldEffects/TextFieldEffects.xcodeproj/project.pbxproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,24 +218,24 @@
218218
isa = PBXProject;
219219
attributes = {
220220
LastSwiftUpdateCheck = 0700;
221-
LastUpgradeCheck = 1000;
221+
LastUpgradeCheck = 1100;
222222
ORGANIZATIONNAME = "Raul Riera";
223223
TargetAttributes = {
224224
4CB3B6CD1AA8DEA7000AFA56 = {
225225
CreatedOnToolsVersion = 6.2;
226-
LastSwiftMigration = 1000;
226+
LastSwiftMigration = 1100;
227227
ProvisioningStyle = Automatic;
228228
};
229229
4CBF766C1A71AF7700073B6A = {
230230
CreatedOnToolsVersion = 6.1.1;
231231
DevelopmentTeam = R64MTWS872;
232-
LastSwiftMigration = 1000;
232+
LastSwiftMigration = 1100;
233233
};
234234
};
235235
};
236236
buildConfigurationList = 4CBF76451A71AE4500073B6A /* Build configuration list for PBXProject "TextFieldEffects" */;
237237
compatibilityVersion = "Xcode 3.2";
238-
developmentRegion = English;
238+
developmentRegion = en;
239239
hasScannedForEncodings = 0;
240240
knownRegions = (
241241
en,
@@ -334,7 +334,7 @@
334334
isa = XCBuildConfiguration;
335335
buildSettings = {
336336
CLANG_ENABLE_MODULES = YES;
337-
CODE_SIGN_IDENTITY = "iPhone Developer";
337+
CODE_SIGN_IDENTITY = "";
338338
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
339339
CODE_SIGN_STYLE = Automatic;
340340
DEFINES_MODULE = YES;
@@ -354,14 +354,15 @@
354354
PROVISIONING_PROFILE_SPECIFIER = "";
355355
SKIP_INSTALL = YES;
356356
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
357+
SWIFT_VERSION = 5.0;
357358
};
358359
name = Debug;
359360
};
360361
4CB3B6E31AA8DEA7000AFA56 /* Release */ = {
361362
isa = XCBuildConfiguration;
362363
buildSettings = {
363364
CLANG_ENABLE_MODULES = YES;
364-
CODE_SIGN_IDENTITY = "iPhone Developer";
365+
CODE_SIGN_IDENTITY = "";
365366
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
366367
CODE_SIGN_STYLE = Automatic;
367368
COPY_PHASE_STRIP = NO;
@@ -378,13 +379,15 @@
378379
PROVISIONING_PROFILE_SPECIFIER = "";
379380
SKIP_INSTALL = YES;
380381
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
382+
SWIFT_VERSION = 5.0;
381383
};
382384
name = Release;
383385
};
384386
4CBF765F1A71AE4500073B6A /* Debug */ = {
385387
isa = XCBuildConfiguration;
386388
buildSettings = {
387389
ALWAYS_SEARCH_USER_PATHS = NO;
390+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
388391
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
389392
CLANG_CXX_LIBRARY = "libc++";
390393
CLANG_ENABLE_MODULES = YES;
@@ -444,6 +447,7 @@
444447
isa = XCBuildConfiguration;
445448
buildSettings = {
446449
ALWAYS_SEARCH_USER_PATHS = NO;
450+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
447451
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
448452
CLANG_CXX_LIBRARY = "libc++";
449453
CLANG_ENABLE_MODULES = YES;
@@ -505,6 +509,7 @@
505509
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
506510
PRODUCT_BUNDLE_IDENTIFIER = "com.raulriera.$(PRODUCT_NAME:rfc1034identifier)";
507511
PRODUCT_NAME = "$(TARGET_NAME)";
512+
SWIFT_VERSION = 5.0;
508513
};
509514
name = Debug;
510515
};
@@ -519,6 +524,7 @@
519524
PRODUCT_BUNDLE_IDENTIFIER = "com.raulriera.$(PRODUCT_NAME:rfc1034identifier)";
520525
PRODUCT_NAME = "$(TARGET_NAME)";
521526
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
527+
SWIFT_VERSION = 5.0;
522528
};
523529
name = Release;
524530
};

TextFieldEffects/TextFieldEffects.xcodeproj/xcshareddata/xcschemes/TextFieldEffects.xcscheme

Lines changed: 10 additions & 14 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 = "1000"
3+
LastUpgradeVersion = "1100"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -41,6 +41,15 @@
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
4343
shouldUseLaunchSchemeArgsEnv = "YES">
44+
<MacroExpansion>
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "4CB3B6CD1AA8DEA7000AFA56"
48+
BuildableName = "TextFieldEffects.framework"
49+
BlueprintName = "TextFieldEffects"
50+
ReferencedContainer = "container:TextFieldEffects.xcodeproj">
51+
</BuildableReference>
52+
</MacroExpansion>
4453
<Testables>
4554
<TestableReference
4655
skipped = "NO">
@@ -53,17 +62,6 @@
5362
</BuildableReference>
5463
</TestableReference>
5564
</Testables>
56-
<MacroExpansion>
57-
<BuildableReference
58-
BuildableIdentifier = "primary"
59-
BlueprintIdentifier = "4CB3B6CD1AA8DEA7000AFA56"
60-
BuildableName = "TextFieldEffects.framework"
61-
BlueprintName = "TextFieldEffects"
62-
ReferencedContainer = "container:TextFieldEffects.xcodeproj">
63-
</BuildableReference>
64-
</MacroExpansion>
65-
<AdditionalOptions>
66-
</AdditionalOptions>
6765
</TestAction>
6866
<LaunchAction
6967
buildConfiguration = "Debug"
@@ -84,8 +82,6 @@
8482
ReferencedContainer = "container:TextFieldEffects.xcodeproj">
8583
</BuildableReference>
8684
</MacroExpansion>
87-
<AdditionalOptions>
88-
</AdditionalOptions>
8985
</LaunchAction>
9086
<ProfileAction
9187
buildConfiguration = "Release"

0 commit comments

Comments
 (0)