Skip to content

Commit bbc6f71

Browse files
authored
Merge pull request #7 from aaronbrethorst/swift50
Updates project to work with Swift 5.0/Xcode 10.2
2 parents 88b1912 + a2f2624 commit bbc6f71

4 files changed

Lines changed: 15 additions & 9 deletions

File tree

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
branches:
2-
only:
2+
only:
33
- master
44
stages:
55
- lint
@@ -14,7 +14,7 @@ jobs:
1414
os: osx
1515
language: objective-c
1616
before_install:
17-
gem install cocoapods --prerelease --version 1.6.0.beta.1
17+
gem install cocoapods --prerelease --version 1.6.1
1818
install:
1919
carthage bootstrap --no-build PromiseKit
2020
script: |
@@ -47,10 +47,13 @@ jobs:
4747
osx_image: xcode10
4848
env: SWIFT=4.2
4949
name: pod lib lint --swift-version=4.2
50-
50+
- <<: *pod
51+
osx_image: xcode10.2
52+
env: SWIFT=5.0
53+
name: pod lib lint --swift-version=5.0
5154
- &test
5255
stage: test
53-
osx_image: xcode10
56+
osx_image: xcode10.2
5457
name: macOS Tests
5558
env: DST='arch=x86_64' PLAT=macOS
5659
os: osx

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "mxcl/PromiseKit" "6.5.0"
1+
github "mxcl/PromiseKit" "6.8.4"

PMKMapKit.xcodeproj/project.pbxproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
isa = PBXProject;
165165
attributes = {
166166
LastSwiftUpdateCheck = 0800;
167-
LastUpgradeCheck = 1000;
167+
LastUpgradeCheck = 1020;
168168
ORGANIZATIONNAME = "Max Howell";
169169
TargetAttributes = {
170170
63C7FFA61D5BEE09003BAE60 = {
@@ -184,6 +184,7 @@
184184
developmentRegion = English;
185185
hasScannedForEncodings = 0;
186186
knownRegions = (
187+
English,
187188
en,
188189
);
189190
mainGroup = 63C7FF9D1D5BEE09003BAE60;
@@ -251,6 +252,7 @@
251252
baseConfigurationReference = 63CCF8171D5C11B500503216 /* Carthage.xcconfig */;
252253
buildSettings = {
253254
ALWAYS_SEARCH_USER_PATHS = NO;
255+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
254256
CLANG_ANALYZER_NONNULL = YES;
255257
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
256258
CLANG_CXX_LIBRARY = "libc++";
@@ -305,7 +307,7 @@
305307
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx appletvsimulator appletvos";
306308
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
307309
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
308-
SWIFT_VERSION = 3.0;
310+
SWIFT_VERSION = 4.0;
309311
TARGETED_DEVICE_FAMILY = "1,2,3,4";
310312
TVOS_DEPLOYMENT_TARGET = 9.2;
311313
VERSIONING_SYSTEM = "apple-generic";
@@ -319,6 +321,7 @@
319321
baseConfigurationReference = 63CCF8171D5C11B500503216 /* Carthage.xcconfig */;
320322
buildSettings = {
321323
ALWAYS_SEARCH_USER_PATHS = NO;
324+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
322325
CLANG_ANALYZER_NONNULL = YES;
323326
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
324327
CLANG_CXX_LIBRARY = "libc++";
@@ -365,7 +368,7 @@
365368
PRODUCT_BUNDLE_IDENTIFIER = org.promisekit.MapKit;
366369
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx appletvsimulator appletvos";
367370
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
368-
SWIFT_VERSION = 3.0;
371+
SWIFT_VERSION = 4.0;
369372
TARGETED_DEVICE_FAMILY = "1,2,3,4";
370373
TVOS_DEPLOYMENT_TARGET = 9.2;
371374
VALIDATE_PRODUCT = YES;

PMKMapKit.xcodeproj/xcshareddata/xcschemes/PMKMapKit.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 = "1000"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)