Skip to content

Commit b2a22fa

Browse files
committed
Updates for Swift 4.1 and Xcode 9.3
1 parent ef791a0 commit b2a22fa

File tree

6 files changed

+30
-8
lines changed

6 files changed

+30
-8
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
88
[![Build Status](https://www.bitrise.io/app/11b4cd282c1d70b3.svg?token=TFKzkSx6pehcZOj5ouWrFg)](https://www.bitrise.io/app/11b4cd282c1d70b3)
99
[![License: MIT](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/freshOS/then/blob/master/LICENSE)
10-
[![Release version](https://img.shields.io/badge/release-0.0.6-blue.svg)]()
10+
![Release version](https://img.shields.io/github/release/freshos/router.svg)
1111

1212
[Reason](#why) - [Get Started](#get-started) - [Installation](#installation)
1313

@@ -159,7 +159,7 @@ Grab this repository and build the Framework target on the example project. Then
159159

160160

161161
### Backers
162-
Like the project? Offer coffee or support us with a monthly donation and help us continue our activities :)
162+
Like the project? Offer coffee or support us with a monthly donation and help us continue our activities :)
163163

164164
<a href="https://opencollective.com/freshos/backer/0/website" target="_blank"><img src="https://opencollective.com/freshos/backer/0/avatar.svg"></a>
165165
<a href="https://opencollective.com/freshos/backer/1/website" target="_blank"><img src="https://opencollective.com/freshos/backer/1/avatar.svg"></a>
@@ -193,7 +193,7 @@ Like the project? Offer coffee or support us with a monthly donation and help us
193193
<a href="https://opencollective.com/freshos/backer/29/website" target="_blank"><img src="https://opencollective.com/freshos/backer/29/avatar.svg"></a>
194194

195195
### Sponsors
196-
Become a sponsor and get your logo on our README on Github with a link to your site :)
196+
Become a sponsor and get your logo on our README on Github with a link to your site :)
197197

198198
<a href="https://opencollective.com/freshos/sponsor/0/website" target="_blank"><img src="https://opencollective.com/freshos/sponsor/0/avatar.svg"></a>
199199
<a href="https://opencollective.com/freshos/sponsor/1/website" target="_blank"><img src="https://opencollective.com/freshos/sponsor/1/avatar.svg"></a>

Router.framework.zip

452 KB
Binary file not shown.

Router.xcodeproj/project.pbxproj

+17-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
997ECB521E645B5700384E63 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 997ECB4F1E645B5700384E63 /* Info.plist */; };
1110
997ECB531E645B5700384E63 /* Router.h in Headers */ = {isa = PBXBuildFile; fileRef = 997ECB501E645B5700384E63 /* Router.h */; settings = {ATTRIBUTES = (Public, ); }; };
1211
997ECB541E645B5700384E63 /* Router.swift in Sources */ = {isa = PBXBuildFile; fileRef = 997ECB511E645B5700384E63 /* Router.swift */; };
1312
/* End PBXBuildFile section */
@@ -94,7 +93,7 @@
9493
997CC24C1E64079100250EB1 /* Project object */ = {
9594
isa = PBXProject;
9695
attributes = {
97-
LastUpgradeCheck = 0820;
96+
LastUpgradeCheck = 0930;
9897
ORGANIZATIONNAME = freshOS;
9998
TargetAttributes = {
10099
997CC2541E64079100250EB1 = {
@@ -126,7 +125,6 @@
126125
isa = PBXResourcesBuildPhase;
127126
buildActionMask = 2147483647;
128127
files = (
129-
997ECB521E645B5700384E63 /* Info.plist in Resources */,
130128
);
131129
runOnlyForDeploymentPostprocessing = 0;
132130
};
@@ -153,15 +151,23 @@
153151
CLANG_CXX_LIBRARY = "libc++";
154152
CLANG_ENABLE_MODULES = YES;
155153
CLANG_ENABLE_OBJC_ARC = YES;
154+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
156155
CLANG_WARN_BOOL_CONVERSION = YES;
156+
CLANG_WARN_COMMA = YES;
157157
CLANG_WARN_CONSTANT_CONVERSION = YES;
158+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
158159
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
159160
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
160161
CLANG_WARN_EMPTY_BODY = YES;
161162
CLANG_WARN_ENUM_CONVERSION = YES;
162163
CLANG_WARN_INFINITE_RECURSION = YES;
163164
CLANG_WARN_INT_CONVERSION = YES;
165+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
166+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
167+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
164168
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
169+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
170+
CLANG_WARN_STRICT_PROTOTYPES = YES;
165171
CLANG_WARN_SUSPICIOUS_MOVE = YES;
166172
CLANG_WARN_UNREACHABLE_CODE = YES;
167173
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -206,15 +212,23 @@
206212
CLANG_CXX_LIBRARY = "libc++";
207213
CLANG_ENABLE_MODULES = YES;
208214
CLANG_ENABLE_OBJC_ARC = YES;
215+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
209216
CLANG_WARN_BOOL_CONVERSION = YES;
217+
CLANG_WARN_COMMA = YES;
210218
CLANG_WARN_CONSTANT_CONVERSION = YES;
219+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
211220
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
212221
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
213222
CLANG_WARN_EMPTY_BODY = YES;
214223
CLANG_WARN_ENUM_CONVERSION = YES;
215224
CLANG_WARN_INFINITE_RECURSION = YES;
216225
CLANG_WARN_INT_CONVERSION = YES;
226+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
227+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
228+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
217229
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
230+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
231+
CLANG_WARN_STRICT_PROTOTYPES = YES;
218232
CLANG_WARN_SUSPICIOUS_MOVE = YES;
219233
CLANG_WARN_UNREACHABLE_CODE = YES;
220234
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

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

Sources/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.1</string>
18+
<string>1.1.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

0 commit comments

Comments
 (0)