File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
- * .xcodeproj / ** / xcuserdata /
1
+ xcuserdata
2
2
* .xcscmblueprint
3
3
/Carthage
4
- /Cartfile.resolved
5
4
/.build
Original file line number Diff line number Diff line change 1
1
language : objective-c
2
2
osx_image : xcode8.3
3
-
3
+ matrix :
4
+ include :
5
+ - osx_image : xcode8
6
+ - osx_image : xcode8.1
7
+ - osx_image : xcode8.2
8
+ - osx_image : xcode9
4
9
env :
5
10
- PLATFORM=Mac
6
11
- PLATFORM=iOS NAME='iPhone SE'
7
12
- PLATFORM=tvOS NAME='Apple TV 1080p'
8
-
9
13
before_install :
10
14
- if [ -n "$NAME" ]; then
11
15
export UUID=$(instruments -s | ruby -e "ARGF.each_line{ |ln| ln =~ /$NAME .* \[(.*)\]/; if \$1; puts(\$1); exit; end }");
12
16
fi
13
-
14
17
install :
15
18
- carthage bootstrap --platform $PLATFORM
16
-
17
19
script :
18
20
- set -o pipefail;
19
21
case $PLATFORM in
20
22
Mac)
21
23
xcodebuild -scheme PMKMapKit test | xcpretty;;
22
24
iOS|tvOS)
23
- xcrun instruments -w "$UUID";
24
- sleep 15;
25
+ open -a "simulator" --args -CurrentDeviceUDID "$UUID";
25
26
xcodebuild -scheme PMKMapKit -destination "id=$UUID" test | xcpretty;;
26
27
esac
Original file line number Diff line number Diff line change 166
166
isa = PBXProject;
167
167
attributes = {
168
168
LastSwiftUpdateCheck = 0800;
169
- LastUpgradeCheck = 0800 ;
169
+ LastUpgradeCheck = 0830 ;
170
170
ORGANIZATIONNAME = "Max Howell";
171
171
TargetAttributes = {
172
172
63C7FFA61D5BEE09003BAE60 = {
267
267
CLANG_WARN_INFINITE_RECURSION = YES;
268
268
CLANG_WARN_INT_CONVERSION = YES;
269
269
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
270
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
270
271
CLANG_WARN_SUSPICIOUS_MOVES = YES;
271
272
CLANG_WARN_UNREACHABLE_CODE = YES;
272
273
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
325
326
CLANG_WARN_INFINITE_RECURSION = YES;
326
327
CLANG_WARN_INT_CONVERSION = YES;
327
328
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
329
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
328
330
CLANG_WARN_SUSPICIOUS_MOVES = YES;
329
331
CLANG_WARN_UNREACHABLE_CODE = YES;
330
332
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<Scheme
3
- LastUpgradeVersion = " 0800 "
3
+ LastUpgradeVersion = " 0830 "
4
4
version = " 1.3" >
5
5
<BuildAction
6
6
parallelizeBuildables = " YES"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class Test_MKDirections_Swift: XCTestCase {
8
8
let ex = expectation ( description: " " )
9
9
10
10
class MockDirections : MKDirections {
11
- private override func calculate( completionHandler: @escaping MKDirectionsHandler ) {
11
+ override func calculate( completionHandler: @escaping MKDirectionsHandler ) {
12
12
completionHandler ( MKDirectionsResponse ( ) , nil )
13
13
}
14
14
}
@@ -28,7 +28,7 @@ class Test_MKDirections_Swift: XCTestCase {
28
28
let ex = expectation ( description: " " )
29
29
30
30
class MockDirections : MKDirections {
31
- private override func calculateETA( completionHandler: @escaping MKETAHandler ) {
31
+ override func calculateETA( completionHandler: @escaping MKETAHandler ) {
32
32
completionHandler ( MKETAResponse ( ) , nil )
33
33
}
34
34
}
@@ -48,7 +48,7 @@ class Test_MKSnapshotter_Swift: XCTestCase {
48
48
let ex = expectation ( description: " " )
49
49
50
50
class MockSnapshotter : MKMapSnapshotter {
51
- private override func start( completionHandler: @escaping MKMapSnapshotCompletionHandler ) {
51
+ override func start( completionHandler: @escaping MKMapSnapshotCompletionHandler ) {
52
52
completionHandler ( MKMapSnapshot ( ) , nil )
53
53
}
54
54
}
You can’t perform that action at this time.
0 commit comments