Skip to content

Commit f925a77

Browse files
onurgeneschili-ios
authored andcommitted
Xcode 10.2 and Swift 5 support (#55)
* Swift 4.2 Support * Xcode 10.2 and Swift 5 support
1 parent 8bde517 commit f925a77

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

CHIPageControl.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'CHIPageControl'
3-
s.version = '0.1.7'
3+
s.version = '0.1.8'
44
s.summary = 'CHIPageControl is a set of cool animated page controls written in Swift to replace boring UIPageControl.'
55

66
s.ios.deployment_target = '8.0'
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
1010
s.license = { :type => 'MIT', :file => 'LICENSE' }
1111
s.author = { 'Chili' => '[email protected]' }
1212
s.source = { :git => 'https://github.com/ChiliLabs/CHIPageControl.git', :tag => s.version.to_s }
13-
s.swift_version = '4.2'
13+
s.swift_version = '5.0'
1414

1515
s.source_files = 'CHIPageControl/*.swift', 'CHIPageControl/Core/*.swift'
1616

CHIPageControl.xcodeproj/project.pbxproj

+8-7
Original file line numberDiff line numberDiff line change
@@ -159,23 +159,24 @@
159159
4313A7831E7A831E0015A568 /* Project object */ = {
160160
isa = PBXProject;
161161
attributes = {
162-
LastUpgradeCheck = 1000;
162+
LastUpgradeCheck = 1020;
163163
ORGANIZATIONNAME = chi.lv;
164164
TargetAttributes = {
165165
4313A78B1E7A831E0015A568 = {
166166
CreatedOnToolsVersion = 8.2.1;
167167
DevelopmentTeam = 4J5NY3YD66;
168-
LastSwiftMigration = 0900;
168+
LastSwiftMigration = 1020;
169169
ProvisioningStyle = Automatic;
170170
};
171171
};
172172
};
173173
buildConfigurationList = 4313A7861E7A831E0015A568 /* Build configuration list for PBXProject "CHIPageControl" */;
174174
compatibilityVersion = "Xcode 3.2";
175-
developmentRegion = English;
175+
developmentRegion = en;
176176
hasScannedForEncodings = 0;
177177
knownRegions = (
178178
en,
179+
Base,
179180
);
180181
mainGroup = 4313A7821E7A831E0015A568;
181182
productRefGroup = 4313A78D1E7A831E0015A568 /* Products */;
@@ -223,6 +224,7 @@
223224
isa = XCBuildConfiguration;
224225
buildSettings = {
225226
ALWAYS_SEARCH_USER_PATHS = NO;
227+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
226228
CLANG_ANALYZER_NONNULL = YES;
227229
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
228230
CLANG_CXX_LIBRARY = "libc++";
@@ -284,6 +286,7 @@
284286
isa = XCBuildConfiguration;
285287
buildSettings = {
286288
ALWAYS_SEARCH_USER_PATHS = NO;
289+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
287290
CLANG_ANALYZER_NONNULL = YES;
288291
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
289292
CLANG_CXX_LIBRARY = "libc++";
@@ -351,8 +354,7 @@
351354
PRODUCT_NAME = "$(TARGET_NAME)";
352355
SKIP_INSTALL = YES;
353356
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
354-
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
355-
SWIFT_VERSION = 4.2;
357+
SWIFT_VERSION = 5.0;
356358
};
357359
name = Debug;
358360
};
@@ -372,8 +374,7 @@
372374
PRODUCT_BUNDLE_IDENTIFIER = lv.chi.CHIPageControl;
373375
PRODUCT_NAME = "$(TARGET_NAME)";
374376
SKIP_INSTALL = YES;
375-
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
376-
SWIFT_VERSION = 4.2;
377+
SWIFT_VERSION = 5.0;
377378
};
378379
name = Release;
379380
};

CHIPageControl.xcodeproj/xcshareddata/xcschemes/CHIPageControl.xcscheme

+1-1
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 = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)