Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #108 from VerizonAdPlatforms/updates-to-remove-war…
Browse files Browse the repository at this point in the history
…nings

Updated repos and added changes for Xcode 10.2
  • Loading branch information
balavor committed Apr 11, 2019
2 parents 92fd9a2 + ab2435a commit 5c94c68
Show file tree
Hide file tree
Showing 17 changed files with 181 additions and 335 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ git:

install:
- bundle install
- brew update-reset && brew update
- brew install sourcery
- carthage update --platform iOS

matrix:
include:
- os: osx
osx_image: xcode10.1
osx_image: xcode10.2
before_script:
- ". ./fastlane/travis-scripts/pre-xcode10.sh"
script:
- bundle exec fastlane test
- bundle exec fastlane build_tvos_target
- bundle exec fastlane build_tutorials
#- bundle exec fastlane build_tutorials
- bundle exec fastlane lint_current_podspec
- bundle exec danger || true

Expand Down
2 changes: 1 addition & 1 deletion PlayerControls
2 changes: 1 addition & 1 deletion PlayerCore
12 changes: 4 additions & 8 deletions VerizonVideoPartnerSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
06123FDC225E42DE00CA8766 /* Pipeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEBE4A7E1CA2EEDC006E01C1 /* Pipeline.swift */; };
061AFD6521F256CB0024BAC5 /* ContentPlaybackCycleDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 061AFD6321F256CA0024BAC5 /* ContentPlaybackCycleDetector.swift */; };
061AFD6721F256ED0024BAC5 /* ContentPlaybackCycleDetectorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 061AFD6421F256CA0024BAC5 /* ContentPlaybackCycleDetectorTests.swift */; };
061AFD7421F53BC30024BAC5 /* ContentPlaybackCycleDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 061AFD6321F256CA0024BAC5 /* ContentPlaybackCycleDetector.swift */; };
Expand Down Expand Up @@ -227,8 +228,6 @@
DE684CD71E0C2F36007CE35C /* Action.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE684CD61E0C2F36007CE35C /* Action.swift */; };
DE684CD81E0C2F36007CE35C /* Action.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE684CD61E0C2F36007CE35C /* Action.swift */; };
DE684CDC1E0EBFC3007CE35C /* SystemPlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5067F5FE1D49120E00FEC27C /* SystemPlayerViewController.swift */; };
DE79CE211E979F9700C3A660 /* AdURLProviderProcess.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE79CE201E979F9700C3A660 /* AdURLProviderProcess.swift */; };
DE79CE221E979F9700C3A660 /* AdURLProviderProcess.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE79CE201E979F9700C3A660 /* AdURLProviderProcess.swift */; };
DE8416A11F4493FF00E57971 /* PlayerInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE8416A01F4493FF00E57971 /* PlayerInterface.swift */; };
DE8416A21F4493FF00E57971 /* PlayerInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE8416A01F4493FF00E57971 /* PlayerInterface.swift */; };
DEAE91D81CAA830800C736D0 /* ApplyDecorator.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEAE91D71CAA830800C736D0 /* ApplyDecorator.swift */; };
Expand Down Expand Up @@ -609,7 +608,6 @@
DE4C51E01C80D43200BFFB0B /* TrackingPixelsConnector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrackingPixelsConnector.swift; sourceTree = "<group>"; };
DE611A791E9D40F200D253B2 /* PlayerControls.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = PlayerControls.xcodeproj; path = PlayerControls/PlayerControls/PlayerControls.xcodeproj; sourceTree = "<group>"; };
DE684CD61E0C2F36007CE35C /* Action.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Action.swift; sourceTree = "<group>"; };
DE79CE201E979F9700C3A660 /* AdURLProviderProcess.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AdURLProviderProcess.swift; sourceTree = "<group>"; };
DE8416A01F4493FF00E57971 /* PlayerInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlayerInterface.swift; sourceTree = "<group>"; };
DEAE91D71CAA830800C736D0 /* ApplyDecorator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ApplyDecorator.swift; sourceTree = "<group>"; };
DEAE91DA1CAA83D200C736D0 /* SkipRepeatsDecorator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SkipRepeatsDecorator.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1117,7 +1115,6 @@
06F8DBB621C2A2A00019021D /* VRM New Core */,
DE1685D71CE7308500492A90 /* vast parser */,
50D7476D1CE6234900CB91D4 /* vrm */,
DE79CE201E979F9700C3A660 /* AdURLProviderProcess.swift */,
E23168002126D67D00F5AD5B /* AdStartTimeoutController.swift */,
E231AA78213402C3008C5B6A /* AdStartTimeoutControllerTest.swift */,
E2316874212C3B5D00F5AD5B /* MaxShowTimeController.swift */,
Expand Down Expand Up @@ -1556,11 +1553,11 @@
};
buildConfigurationList = DEF3CBB11C7F12D200CB5A74 /* Build configuration list for PBXProject "VerizonVideoPartnerSDK" */;
compatibilityVersion = "Xcode 6.3";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
mainGroup = DEF3CBAD1C7F12D200CB5A74;
productRefGroup = DEF3CBAD1C7F12D200CB5A74;
Expand Down Expand Up @@ -1804,7 +1801,6 @@
50A11DAB1D59D7E000F4A068 /* Network.swift in Sources */,
E22B6ADC21F0A95700D480A0 /* VVPSDK_Version.swift in Sources */,
50C99D4F2010B4E00041B013 /* Observable.swift in Sources */,
DE79CE221E979F9700C3A660 /* AdURLProviderProcess.swift in Sources */,
DEE069D61E840BDF00A95BE9 /* VideoProviderResponse.swift in Sources */,
DEB112371E30F0CE007E65BD /* Context.swift in Sources */,
E22B6AE621F0C6D100D480A0 /* VRMTimeoutController.swift in Sources */,
Expand Down Expand Up @@ -2006,7 +2002,6 @@
067209BE21B6BD9A0086CDBE /* OpenMeasurementContext.swift in Sources */,
5034AD2A207E69CA00B5CAA1 /* VideoSelector.swift in Sources */,
50D442591D0FF9DB00C0DAB0 /* AdMetrics.swift in Sources */,
DE79CE211E979F9700C3A660 /* AdURLProviderProcess.swift in Sources */,
062E9B3E20F5097C00AF1D54 /* PlayerViewController_Clickthrough.swift in Sources */,
E23168A5212C4C9E00F5AD5B /* MaxShowTimeController.swift in Sources */,
);
Expand Down Expand Up @@ -2047,6 +2042,7 @@
FEEB8E5B1F4C92F5003507BE /* ErrorDetectorTests.swift in Sources */,
DEB112331E30E5ED007E65BD /* VideoLoadingDetectorTests.swift in Sources */,
06BF5394209B471A00B98A6D /* UserActionsDetectorTests.swift in Sources */,
06123FDC225E42DE00CA8766 /* Pipeline.swift in Sources */,
E287B0A621F8A67F00FC49AA /* VRMSelectFinalResultControllerTest.swift in Sources */,
508748261C80750100F2511A /* Recorder.swift in Sources */,
06EC86EF2214842900CB4A8E /* AdVASTProgressDetectorTest.swift in Sources */,
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 = "1010"
LastUpgradeVersion = "1020"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
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 = "1010"
LastUpgradeVersion = "1020"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
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 = "1010"
LastUpgradeVersion = "1020"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion VideoRenderer
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ actions_path 'actions/json/'
actions_path 'actions/utils/'

before_all do |_lane, _options|
xcversion(version: '~> 10')
xcversion(version: '~> 10.2')
end

lane :clean do
Expand Down
2 changes: 1 addition & 1 deletion fastlane/travis-scripts/pre-xcode10.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e

export IOS_SIMULATOR_UDID=`instruments -s devices | grep "iPhone 8 (12.0" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
export IOS_SIMULATOR_UDID=`instruments -s devices | grep "iPhone 8 (12.2" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
xcrun simctl boot $IOS_SIMULATOR_UDID
13 changes: 0 additions & 13 deletions sources/VVPSDK.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,6 @@ public struct VVPSDK {
self.vrmProvider = VRMProvider(session: ephemeralSession)
}

/* attach ad url process listener */ do {
if let url = configuration.telemetry?.url {
let listener = Telemetry.Listeners.AdURLProcessListener.shared

listener.session = ephemeralSession
listener.url = url

Telemetry.Station.shared.add(
listener: Telemetry.Listeners.AdURLProcessListener.shared
)
}
}

telemetryMetrics = configuration
.telemetry
.flatMap { config in
Expand Down
144 changes: 0 additions & 144 deletions sources/advertisements/AdURLProviderProcess.swift

This file was deleted.

2 changes: 1 addition & 1 deletion sources/dynamic analytics/PropsMapping.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import JavaScriptCore
import CoreMedia
import PlayerCore

indirect enum JSøN {
indirect enum JSøN: Hashable {
case null
case bool(Bool)
case string(String)
Expand Down
Loading

0 comments on commit 5c94c68

Please sign in to comment.