Skip to content

Commit

Permalink
Update with Xcode 9.4
Browse files Browse the repository at this point in the history
Apply test workaround for iOS 11.4 as well
  • Loading branch information
defagos committed Jun 1, 2018
1 parent 88f713c commit 86b5fd3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SRGMediaPlayer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = SRG;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 0940;
ORGANIZATIONNAME = "SRG SSR";
TargetAttributes = {
E69A1DA81D61B9380064E6C1 = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "0940"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
4 changes: 2 additions & 2 deletions Tests/Sources/PlaybackTestCase.m
Original file line number Diff line number Diff line change
Expand Up @@ -830,9 +830,9 @@ - (void)testOnDemandProperties

- (void)testLiveProperties
{
// FIXME: See https://github.com/SRGSSR/SRGMediaPlayer-iOS/issues/50. Workaround so that the test passes on iOS 11.3.
// FIXME: See https://github.com/SRGSSR/SRGMediaPlayer-iOS/issues/50. Workaround so that the test passes on iOS >= 11.3.
NSOperatingSystemVersion operatingSystemVersion = [NSProcessInfo processInfo].operatingSystemVersion;
if (operatingSystemVersion.majorVersion == 11 && operatingSystemVersion.minorVersion == 3) {
if (operatingSystemVersion.majorVersion == 11 && operatingSystemVersion.minorVersion >= 3) {
self.mediaPlayerController.minimumDVRWindowLength = 40.;
}

Expand Down

0 comments on commit 86b5fd3

Please sign in to comment.