Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #61 from readium/fixes/Xcode-11-swift-5.0.1
Browse files Browse the repository at this point in the history
Xcode 11 swift 5.0.1
  • Loading branch information
aferditamuriqi authored Oct 23, 2019
2 parents e64f03b + 02fad9b commit eda5d0c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: swift
osx_image: xcode10.1
osx_image: xcode11

branches:
only:
Expand Down
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github "readium/r2-shared-swift" == 1.3.4
github "stephencelis/SQLite.swift" == 0.11.5
github "readium/r2-shared-swift" == 1.4.0
github "stephencelis/SQLite.swift" == 0.12.2
github "krzyzanowskim/CryptoSwift" == 0.15.0
github "weichsel/ZIPFoundation" == 0.9.8
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github "krzyzanowskim/CryptoSwift" "0.15.0"
github "readium/r2-shared-swift" "1.3.4"
github "stephencelis/SQLite.swift" "0.11.5"
github "readium/r2-shared-swift" "1.4.0"
github "stephencelis/SQLite.swift" "0.12.2"
github "weichsel/ZIPFoundation" "0.9.8"
8 changes: 4 additions & 4 deletions r2-lcp-swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand Down Expand Up @@ -532,7 +532,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -568,7 +568,7 @@
PRODUCT_NAME = ReadiumLCP;
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand Down Expand Up @@ -600,7 +600,7 @@
PRODUCT_NAME = ReadiumLCP;
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion readium-lcp-swift/License/License.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ extension License: LCPLicense {
throw LCPError.licenseInteractionNotAvailable
}

return Deferred<Void> { success, _ in present(url, success) }
return Deferred<Void> { success, _ in present(url, { success(()) }) }
.flatMap { _ in
// We fetch the Status Document again after the HTML interaction is done, in case it changed the License.
self.network.fetch(statusURL)
Expand Down

0 comments on commit eda5d0c

Please sign in to comment.