From 0181d168a5fb34eb2e196ae11973f6df13b029e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Sat, 19 Sep 2015 21:59:59 +0200 Subject: [PATCH 01/12] Point badges to the develop branch --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c486645d..5f926f96 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## About -[![Build Status](https://img.shields.io/travis/0xced/XCDYouTubeKit/master.svg?style=flat)](https://travis-ci.org/0xced/XCDYouTubeKit) -[![Coverage Status](https://img.shields.io/coveralls/0xced/XCDYouTubeKit/master.svg?style=flat)](https://coveralls.io/r/0xced/XCDYouTubeKit?branch=master) +[![Build Status](https://img.shields.io/travis/0xced/XCDYouTubeKit/develop.svg?style=flat)](https://travis-ci.org/0xced/XCDYouTubeKit) +[![Coverage Status](https://img.shields.io/coveralls/0xced/XCDYouTubeKit/develop.svg?style=flat)](https://coveralls.io/r/0xced/XCDYouTubeKit?branch=develop) [![Platform](https://img.shields.io/cocoapods/p/XCDYouTubeKit.svg?style=flat)](http://cocoadocs.org/docsets/XCDYouTubeKit/) [![Pod Version](https://img.shields.io/cocoapods/v/XCDYouTubeKit.svg?style=flat)](https://cocoapods.org/pods/XCDYouTubeKit) [![Carthage Compatibility](https://img.shields.io/badge/carthage-✓-f2a77e.svg?style=flat)](https://github.com/Carthage/Carthage/) From a2c0895abd8f58c7edf957602a1eded308a959d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Sat, 19 Sep 2015 22:03:49 +0200 Subject: [PATCH 02/12] Improve release script instructions --- Scripts/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/release.sh b/Scripts/release.sh index b2c1ad39..ad73ae8d 100755 --- a/Scripts/release.sh +++ b/Scripts/release.sh @@ -42,7 +42,8 @@ update_badges "master" "develop" echo "Things remaining to do" echo " * git push with tags (master and develop)" echo " * check that build is passing on travis: https://travis-ci.org/0xced/XCDYouTubeKit/" +echo " * pod lib lint --verbose XCDYouTubeKit.podspec" +echo " * pod trunk push --verbose XCDYouTubeKit.podspec" echo " * pod spec lint --verbose XCDYouTubeKit.podspec" -echo " * pod trunk push XCDYouTubeKit.podspec --verbose" echo " * create a new release on GitHub: https://github.com/0xced/XCDYouTubeKit/releases/new" echo " * close milestone on GitHub if applicable: https://github.com/0xced/XCDYouTubeKit/milestones" From 15caeb3c2affe326a4a918762a24ccfd954fd27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Wed, 23 Sep 2015 23:55:10 +0200 Subject: [PATCH 03/12] Remove prefix headers in demo apps --- XCDYouTubeKit Demo/OS X Demo/AppDelegate.h | 3 +++ XCDYouTubeKit Demo/OS X Demo/AppDelegate.m | 3 +++ .../XCDYouTubeKit OS X Demo-Prefix.pch | 6 ------ .../OS X Demo/Supporting Files/main.m | 2 ++ .../XCDYouTubeKit Demo.xcodeproj/project.pbxproj | 12 ------------ XCDYouTubeKit Demo/iOS Demo/AppDelegate.h | 2 ++ XCDYouTubeKit Demo/iOS Demo/AppDelegate.m | 4 +++- .../iOS Demo/DemoAsynchronousViewController.h | 2 ++ .../iOS Demo/DemoAsynchronousViewController.m | 4 ++++ .../iOS Demo/DemoFullScreenViewController.h | 2 ++ .../iOS Demo/DemoFullScreenViewController.m | 4 ++++ .../iOS Demo/DemoInlineViewController.h | 2 ++ .../iOS Demo/DemoInlineViewController.m | 4 ++++ .../iOS Demo/DemoThumbnailViewController.h | 2 ++ .../iOS Demo/DemoThumbnailViewController.m | 4 ++++ .../MPMoviePlayerController+BackgroundPlayback.m | 1 + .../iOS Demo/NowPlayingInfoCenterProvider.h | 2 ++ .../iOS Demo/NowPlayingInfoCenterProvider.m | 2 ++ XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h | 2 ++ XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m | 1 + .../iOS Demo/SettingsViewController.h | 2 ++ .../iOS Demo/SettingsViewController.m | 2 ++ .../XCDYouTubeKit iOS Demo-Prefix.pch | 13 ------------- XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h | 2 +- 24 files changed, 50 insertions(+), 33 deletions(-) delete mode 100644 XCDYouTubeKit Demo/OS X Demo/Supporting Files/XCDYouTubeKit OS X Demo-Prefix.pch delete mode 100644 XCDYouTubeKit Demo/iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Prefix.pch diff --git a/XCDYouTubeKit Demo/OS X Demo/AppDelegate.h b/XCDYouTubeKit Demo/OS X Demo/AppDelegate.h index 6776810e..5e2b7bad 100644 --- a/XCDYouTubeKit Demo/OS X Demo/AppDelegate.h +++ b/XCDYouTubeKit Demo/OS X Demo/AppDelegate.h @@ -2,6 +2,9 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +@import AppKit; +@import AVKit; + @interface AppDelegate : NSObject @property (assign) IBOutlet NSWindow *window; diff --git a/XCDYouTubeKit Demo/OS X Demo/AppDelegate.m b/XCDYouTubeKit Demo/OS X Demo/AppDelegate.m index 5d2c22d8..8dc6e4cd 100644 --- a/XCDYouTubeKit Demo/OS X Demo/AppDelegate.m +++ b/XCDYouTubeKit Demo/OS X Demo/AppDelegate.m @@ -4,7 +4,10 @@ #import "AppDelegate.h" +@import AVFoundation; + #import +#import @implementation AppDelegate diff --git a/XCDYouTubeKit Demo/OS X Demo/Supporting Files/XCDYouTubeKit OS X Demo-Prefix.pch b/XCDYouTubeKit Demo/OS X Demo/Supporting Files/XCDYouTubeKit OS X Demo-Prefix.pch deleted file mode 100644 index c5259157..00000000 --- a/XCDYouTubeKit Demo/OS X Demo/Supporting Files/XCDYouTubeKit OS X Demo-Prefix.pch +++ /dev/null @@ -1,6 +0,0 @@ -#ifdef __OBJC__ - #import - #import - #import - #import -#endif diff --git a/XCDYouTubeKit Demo/OS X Demo/Supporting Files/main.m b/XCDYouTubeKit Demo/OS X Demo/Supporting Files/main.m index 33bb6da7..2f9a905b 100644 --- a/XCDYouTubeKit Demo/OS X Demo/Supporting Files/main.m +++ b/XCDYouTubeKit Demo/OS X Demo/Supporting Files/main.m @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +@import AppKit; + int main(int argc, const char * argv[]) { return NSApplicationMain(argc, argv); diff --git a/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj b/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj index 668bf023..59878253 100644 --- a/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj +++ b/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj @@ -71,7 +71,6 @@ C2428AF0191C3C1400065504 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; C2428B04191C3DE400065504 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; C2428B05191C3DE400065504 /* XCDYouTubeKit OS X Demo-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "XCDYouTubeKit OS X Demo-Info.plist"; sourceTree = ""; }; - C2428B06191C3DE400065504 /* XCDYouTubeKit OS X Demo-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "XCDYouTubeKit OS X Demo-Prefix.pch"; sourceTree = ""; }; C2428B0B191C415300065504 /* AVKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVKit.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AVKit.framework; sourceTree = DEVELOPER_DIR; }; C2570B841A02415F00127127 /* NowPlayingInfoCenterProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NowPlayingInfoCenterProvider.h; sourceTree = ""; }; C2570B851A02415F00127127 /* NowPlayingInfoCenterProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NowPlayingInfoCenterProvider.m; sourceTree = ""; }; @@ -95,7 +94,6 @@ C27415CA17F4CDD80026834B /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = ""; }; C27415D117F4CDD80026834B /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; C27415DD17F4CE4A0026834B /* XCDYouTubeKit iOS Demo-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "XCDYouTubeKit iOS Demo-Info.plist"; sourceTree = ""; }; - C27415DE17F4CE4A0026834B /* XCDYouTubeKit iOS Demo-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "XCDYouTubeKit iOS Demo-Prefix.pch"; sourceTree = ""; }; C27415E217F4D02E0026834B /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; C27415E417F4D0330026834B /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; C27AD2A01A0791F000866050 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; @@ -159,7 +157,6 @@ C2428AE9191C3C1400065504 /* Images.xcassets */, C2428B04191C3DE400065504 /* main.m */, C2428B05191C3DE400065504 /* XCDYouTubeKit OS X Demo-Info.plist */, - C2428B06191C3DE400065504 /* XCDYouTubeKit OS X Demo-Prefix.pch */, ); path = "Supporting Files"; sourceTree = ""; @@ -246,7 +243,6 @@ C27415D117F4CDD80026834B /* main.m */, C235BB821B2099450076FC81 /* Settings.bundle */, C27415DD17F4CE4A0026834B /* XCDYouTubeKit iOS Demo-Info.plist */, - C27415DE17F4CE4A0026834B /* XCDYouTubeKit iOS Demo-Prefix.pch */, ); path = "Supporting Files"; sourceTree = ""; @@ -480,8 +476,6 @@ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; COMBINE_HIDPI_IMAGES = YES; GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "OS X Demo/Supporting Files/XCDYouTubeKit OS X Demo-Prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -512,8 +506,6 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "OS X Demo/Supporting Files/XCDYouTubeKit OS X Demo-Prefix.pch"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -600,8 +592,6 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Prefix.pch"; INFOPLIST_FILE = "iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Info.plist"; LD_RUNPATH_SEARCH_PATHS = "@loader_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -615,8 +605,6 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Prefix.pch"; INFOPLIST_FILE = "iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Info.plist"; LD_RUNPATH_SEARCH_PATHS = "@loader_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h index 5a3ad9e3..e3c6e374 100644 --- a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h +++ b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + #import "PlayerEventLogger.h" #import "NowPlayingInfoCenterProvider.h" diff --git a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m index 1230163f..eb553d65 100644 --- a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m +++ b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m @@ -4,9 +4,11 @@ #import "AppDelegate.h" -#import "ContextLogFormatter.h" +#import #import +#import "ContextLogFormatter.h" + @implementation AppDelegate @synthesize window = _window; diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h index 95060156..cc8fd4cb 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + @interface DemoAsynchronousViewController : UIViewController @property (nonatomic, weak) IBOutlet UITextField *apiKeyTextField; diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.m b/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.m index a875ce60..4ee8b299 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.m +++ b/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.m @@ -4,6 +4,10 @@ #import "DemoAsynchronousViewController.h" +#import + +#import "MPMoviePlayerController+BackgroundPlayback.h" + @implementation DemoAsynchronousViewController - (void) viewDidLoad diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h index b29ea215..3fc9f7f2 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + #import "VideoPickerController.h" @interface DemoFullScreenViewController : UIViewController diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.m b/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.m index deaa4749..7662dfe7 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.m +++ b/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.m @@ -4,6 +4,10 @@ #import "DemoFullScreenViewController.h" +#import + +#import "MPMoviePlayerController+BackgroundPlayback.h" + @implementation DemoFullScreenViewController - (void) viewDidLoad diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h index 0c6771a8..6654eafb 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + @interface DemoInlineViewController : UIViewController @property (nonatomic, weak) IBOutlet UIView *videoContainerView; diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.m b/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.m index 93f2ff50..b62993bb 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.m +++ b/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.m @@ -4,6 +4,10 @@ #import "DemoInlineViewController.h" +#import + +#import "MPMoviePlayerController+BackgroundPlayback.h" + @interface DemoInlineViewController () @property (nonatomic, strong) XCDYouTubeVideoPlayerViewController *videoPlayerViewController; diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h index 5989cf83..3d0b4c89 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + @interface DemoThumbnailViewController : UIViewController @property (nonatomic, weak) IBOutlet UIButton *actionButton; diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.m b/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.m index daf49cbd..ff0e154f 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.m +++ b/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.m @@ -4,6 +4,10 @@ #import "DemoThumbnailViewController.h" +#import + +#import "MPMoviePlayerController+BackgroundPlayback.h" + @interface DemoThumbnailViewController () @property (nonatomic, strong) XCDYouTubeVideoPlayerViewController *videoPlayerViewController; diff --git a/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m b/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m index b78a2559..21118751 100644 --- a/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m +++ b/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m @@ -4,6 +4,7 @@ #import "MPMoviePlayerController+BackgroundPlayback.h" +#import #import #ifndef NSFoundationVersionNumber_iOS_7_0 diff --git a/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h b/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h index 9d3b1dbf..e5e8f2cd 100644 --- a/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h +++ b/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + @interface NowPlayingInfoCenterProvider : NSObject @property (nonatomic, assign, getter = isEnabled) BOOL enabled; // defaults to `YES` diff --git a/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.m b/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.m index 4a9ba01b..c2bab258 100644 --- a/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.m +++ b/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.m @@ -4,6 +4,8 @@ #import "NowPlayingInfoCenterProvider.h" +#import + @implementation NowPlayingInfoCenterProvider - (instancetype) init diff --git a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h index 6eb37e02..9358f8d2 100644 --- a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h +++ b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + @interface PlayerEventLogger : NSObject @property (nonatomic, assign, getter = isEnabled) BOOL enabled; // defaults to `YES` diff --git a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m index c940b793..5796878f 100644 --- a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m +++ b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m @@ -5,6 +5,7 @@ #import "PlayerEventLogger.h" #import +#import @implementation PlayerEventLogger diff --git a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h index 23f8dee3..c377cf28 100644 --- a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h @@ -2,6 +2,8 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // +#import + @interface SettingsViewController : UIViewController @end diff --git a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m index 8563bc42..d7208810 100644 --- a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m +++ b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m @@ -4,6 +4,8 @@ #import "SettingsViewController.h" +#import + @interface SettingsViewController () @property (nonatomic, weak) IBOutlet UISwitch *playVideoInBackgroundSwitch; diff --git a/XCDYouTubeKit Demo/iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Prefix.pch b/XCDYouTubeKit Demo/iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Prefix.pch deleted file mode 100644 index 9636eb7f..00000000 --- a/XCDYouTubeKit Demo/iOS Demo/Supporting Files/XCDYouTubeKit iOS Demo-Prefix.pch +++ /dev/null @@ -1,13 +0,0 @@ -#import - -#ifndef __IPHONE_5_0 -#warning "This project uses features only available in iOS SDK 5.0 and later." -#endif - -#ifdef __OBJC__ - #import - #import - #import - #import - #import "MPMoviePlayerController+BackgroundPlayback.h" -#endif diff --git a/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h b/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h index efcfef84..5bdaf1c0 100644 --- a/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h +++ b/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h @@ -6,7 +6,7 @@ // Copyright (c) 2015 Cédric Luthi. All rights reserved. // -#import +#import @class VideoPickerController; From a3495812d95989faced0a8e1da76a1d8c4d1ac6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Thu, 24 Sep 2015 00:34:18 +0200 Subject: [PATCH 04/12] Enable modules in the iOS demo app --- .../XCDYouTubeKit Demo.xcodeproj/project.pbxproj | 4 ++-- XCDYouTubeKit Demo/iOS Demo/AppDelegate.h | 2 +- XCDYouTubeKit Demo/iOS Demo/AppDelegate.m | 2 +- XCDYouTubeKit Demo/iOS Demo/ContextLogFormatter.h | 2 +- XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h | 2 +- XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h | 2 +- XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h | 2 +- XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h | 2 +- .../iOS Demo/MPMoviePlayerController+BackgroundPlayback.h | 2 +- .../iOS Demo/MPMoviePlayerController+BackgroundPlayback.m | 4 ++-- XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h | 2 +- XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h | 2 +- XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m | 2 +- XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h | 2 +- XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m | 2 +- XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h | 2 +- 16 files changed, 18 insertions(+), 18 deletions(-) diff --git a/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj b/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj index 59878253..8132dbdc 100644 --- a/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj +++ b/XCDYouTubeKit Demo/XCDYouTubeKit Demo.xcodeproj/project.pbxproj @@ -470,7 +470,6 @@ baseConfigurationReference = 505BA2F7B06DFF74374D198E /* Pods-XCDYouTubeKit OS X Demo.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; @@ -498,7 +497,6 @@ baseConfigurationReference = 552B9F1CEBBB6991A374874F /* Pods-XCDYouTubeKit OS X Demo.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; @@ -525,6 +523,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -560,6 +559,7 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_EMPTY_BODY = YES; diff --git a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h index e3c6e374..d502e63a 100644 --- a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h +++ b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; #import "PlayerEventLogger.h" #import "NowPlayingInfoCenterProvider.h" diff --git a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m index eb553d65..9776385a 100644 --- a/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m +++ b/XCDYouTubeKit Demo/iOS Demo/AppDelegate.m @@ -4,7 +4,7 @@ #import "AppDelegate.h" -#import +@import AVFoundation; #import #import "ContextLogFormatter.h" diff --git a/XCDYouTubeKit Demo/iOS Demo/ContextLogFormatter.h b/XCDYouTubeKit Demo/iOS Demo/ContextLogFormatter.h index 7de05c8a..8d97edbd 100644 --- a/XCDYouTubeKit Demo/iOS Demo/ContextLogFormatter.h +++ b/XCDYouTubeKit Demo/iOS Demo/ContextLogFormatter.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import Foundation; #import @interface ContextLogFormatter : NSObject diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h index cc8fd4cb..ce0e504b 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoAsynchronousViewController.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; @interface DemoAsynchronousViewController : UIViewController diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h index 3fc9f7f2..474f7b18 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoFullScreenViewController.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; #import "VideoPickerController.h" diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h index 6654eafb..0c3ff11e 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoInlineViewController.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; @interface DemoInlineViewController : UIViewController diff --git a/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h b/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h index 3d0b4c89..3d9415f8 100644 --- a/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/DemoThumbnailViewController.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; @interface DemoThumbnailViewController : UIViewController diff --git a/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.h b/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.h index 68cf4d27..d99bc1c8 100644 --- a/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.h +++ b/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import MediaPlayer; @interface MPMoviePlayerController (BackgroundPlayback) diff --git a/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m b/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m index 21118751..bc241759 100644 --- a/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m +++ b/XCDYouTubeKit Demo/iOS Demo/MPMoviePlayerController+BackgroundPlayback.m @@ -4,8 +4,8 @@ #import "MPMoviePlayerController+BackgroundPlayback.h" -#import -#import +@import AVFoundation; +@import ObjectiveC; #ifndef NSFoundationVersionNumber_iOS_7_0 #define NSFoundationVersionNumber_iOS_7_0 1047.2 diff --git a/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h b/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h index e5e8f2cd..1e034a00 100644 --- a/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h +++ b/XCDYouTubeKit Demo/iOS Demo/NowPlayingInfoCenterProvider.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import Foundation; @interface NowPlayingInfoCenterProvider : NSObject diff --git a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h index 9358f8d2..ad1c5658 100644 --- a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h +++ b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import Foundation; @interface PlayerEventLogger : NSObject diff --git a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m index 5796878f..19e3170c 100644 --- a/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m +++ b/XCDYouTubeKit Demo/iOS Demo/PlayerEventLogger.m @@ -5,7 +5,7 @@ #import "PlayerEventLogger.h" #import -#import +@import MediaPlayer; @implementation PlayerEventLogger diff --git a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h index c377cf28..79943566 100644 --- a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h +++ b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.h @@ -2,7 +2,7 @@ // Copyright (c) 2013-2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; @interface SettingsViewController : UIViewController diff --git a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m index d7208810..dd0b2a23 100644 --- a/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m +++ b/XCDYouTubeKit Demo/iOS Demo/SettingsViewController.m @@ -4,7 +4,7 @@ #import "SettingsViewController.h" -#import +@import AVFoundation; @interface SettingsViewController () diff --git a/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h b/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h index 5bdaf1c0..20bd9ea5 100644 --- a/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h +++ b/XCDYouTubeKit Demo/iOS Demo/VideoPickerController.h @@ -6,7 +6,7 @@ // Copyright (c) 2015 Cédric Luthi. All rights reserved. // -#import +@import UIKit; @class VideoPickerController; From bc61739e4c46dea611b2128f55b5095e9f8bd98d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Thu, 1 Oct 2015 01:01:26 +0200 Subject: [PATCH 05/12] Make xcodebuild output unbuffered When xcodebuild is piped (even through a simple `cat`) the test results output becomes buffered. This is annoying when piped through xcpretty. Using `gstdbuf -o 0` on the xcodebuild command solves the issue, see http://stackoverflow.com/questions/18995187/xcodebuild-corrupts-test-result-output-when-output-redirected-to-file/19190226#19190226 and http://stackoverflow.com/questions/11337041/force-line-buffering-of-stdout-when-piping-to-tee/11337109#11337109 --- .travis.yml | 2 ++ Scripts/run-tests.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 49f8b969..c480e48f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,8 @@ env: before_install: - xcrun simctl list install: + - brew update + - brew install coreutils - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - sudo easy_install cpp-coveralls script: diff --git a/Scripts/run-tests.sh b/Scripts/run-tests.sh index 9ac4c033..464e92c2 100755 --- a/Scripts/run-tests.sh +++ b/Scripts/run-tests.sh @@ -6,7 +6,9 @@ set -o pipefail : ${CONFIGURATION:="Release"} : ${DESTINATION:="platform=iOS Simulator,name=iPhone 5s"} -COMMAND="xcodebuild clean test -project XCDYouTubeKit.xcodeproj -scheme '${SCHEME}' -configuration '${CONFIGURATION}' -destination '${DESTINATION}'" +COMMAND="" +gstdbuf --version > /dev/null && COMMAND+="gstdbuf -o 0 " +COMMAND+="xcodebuild clean test -project XCDYouTubeKit.xcodeproj -scheme '${SCHEME}' -configuration '${CONFIGURATION}' -destination '${DESTINATION}'" for BUILD_SETTING in OBJROOT RUN_CLANG_STATIC_ANALYZER; do VALUE=`eval echo \\$"${BUILD_SETTING}"` From 595f6ca76e8f471c3aeb0893683d3d167b1ba181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Thu, 1 Oct 2015 01:09:16 +0200 Subject: [PATCH 06/12] Fix Homebrew error on Travis See https://github.com/Homebrew/homebrew/issues/42553#issuecomment-128453641 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c480e48f..df940b8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ env: before_install: - xcrun simctl list install: - - brew update + - brew update; brew update - brew install coreutils - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - sudo easy_install cpp-coveralls From de91de347fc6065ac6fe50120b979de52f51fe44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Thu, 1 Oct 2015 20:38:04 +0200 Subject: [PATCH 07/12] Use default wrapper extensions (xctest and framework) --- XCDYouTubeKit.xcodeproj/project.pbxproj | 9 --------- 1 file changed, 9 deletions(-) diff --git a/XCDYouTubeKit.xcodeproj/project.pbxproj b/XCDYouTubeKit.xcodeproj/project.pbxproj index d69e1522..52040c2c 100644 --- a/XCDYouTubeKit.xcodeproj/project.pbxproj +++ b/XCDYouTubeKit.xcodeproj/project.pbxproj @@ -787,7 +787,6 @@ "-Wno-nullable-to-nonnull-conversion", "-Wno-reserved-id-macro", ); - WRAPPER_EXTENSION = xctest; }; name = Debug; }; @@ -805,7 +804,6 @@ "-Wno-nullable-to-nonnull-conversion", "-Wno-reserved-id-macro", ); - WRAPPER_EXTENSION = xctest; }; name = Release; }; @@ -821,7 +819,6 @@ INFOPLIST_FILE = XCDYouTubeKit/Info.plist; PRODUCT_NAME = XCDYouTubeKit; SDKROOT = macosx; - WRAPPER_EXTENSION = framework; }; name = Debug; }; @@ -838,7 +835,6 @@ INFOPLIST_FILE = XCDYouTubeKit/Info.plist; PRODUCT_NAME = XCDYouTubeKit; SDKROOT = macosx; - WRAPPER_EXTENSION = framework; }; name = "Code Coverage"; }; @@ -855,7 +851,6 @@ INFOPLIST_FILE = XCDYouTubeKit/Info.plist; PRODUCT_NAME = XCDYouTubeKit; SDKROOT = macosx; - WRAPPER_EXTENSION = framework; }; name = Release; }; @@ -1057,7 +1052,6 @@ "-Wno-nullable-to-nonnull-conversion", "-Wno-reserved-id-macro", ); - WRAPPER_EXTENSION = xctest; }; name = "Code Coverage"; }; @@ -1078,7 +1072,6 @@ "-Wno-nullable-to-nonnull-conversion", "-Wno-reserved-id-macro", ); - WRAPPER_EXTENSION = xctest; }; name = Debug; }; @@ -1099,7 +1092,6 @@ "-Wno-nullable-to-nonnull-conversion", "-Wno-reserved-id-macro", ); - WRAPPER_EXTENSION = xctest; }; name = "Code Coverage"; }; @@ -1120,7 +1112,6 @@ "-Wno-nullable-to-nonnull-conversion", "-Wno-reserved-id-macro", ); - WRAPPER_EXTENSION = xctest; }; name = Release; }; From 5e846e08a6db6047dd1bc0eab1d2d2c927e63c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Mon, 14 Sep 2015 00:03:40 +0200 Subject: [PATCH 08/12] Use the xcpretty Travis formatter (with folding) --- .travis.yml | 1 + Scripts/run-tests.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index df940b8f..037c8305 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ install: - brew update; brew update - brew install coreutils - gem install xcpretty --no-rdoc --no-ri --no-document --quiet + - gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet - sudo easy_install cpp-coveralls script: - ./Scripts/run-tests.sh diff --git a/Scripts/run-tests.sh b/Scripts/run-tests.sh index 464e92c2..b0d71ade 100755 --- a/Scripts/run-tests.sh +++ b/Scripts/run-tests.sh @@ -19,6 +19,7 @@ for BUILD_SETTING in OBJROOT RUN_CLANG_STATIC_ANALYZER; do done xcpretty --version > /dev/null && COMMAND+=" | xcpretty -c" +xcpretty-travis-formatter > /dev/null && COMMAND+=" -f `xcpretty-travis-formatter`" set -x eval "${COMMAND}" From fe030e638bf490b75de98a1db4686a7e8b64e2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Tue, 6 Oct 2015 17:09:25 +0200 Subject: [PATCH 09/12] Add window.location.hash in the JavaScript context Fixes #186 --- CHANGELOG.md | 4 + .../testProtectedVEVOIsPlayable.json | 117 ++++++++---------- .../testProtectedVEVOVideo1.json | 74 ++++++++--- .../testProtectedVEVOVideo2.json | 68 +++++----- .../testProtectedVEVOVideo3.json | 68 +++++----- XCDYouTubeKit/XCDYouTubePlayerScript.m | 20 +-- 6 files changed, 204 insertions(+), 147 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 804e22c5..980f09a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +#### Version 2.3.2 + +* Adaptation to YouTube API change. (#186) + #### Version 2.3.1 * Improved Swift 2.0 interoperability. (#178) diff --git a/XCDYouTubeKit Tests/Cassettes/XCDYouTubeProtectedVideosTestCase/testProtectedVEVOIsPlayable.json b/XCDYouTubeKit Tests/Cassettes/XCDYouTubeProtectedVideosTestCase/testProtectedVEVOIsPlayable.json index 4497b32b..38c322fc 100644 --- a/XCDYouTubeKit Tests/Cassettes/XCDYouTubeProtectedVideosTestCase/testProtectedVEVOIsPlayable.json +++ b/XCDYouTubeKit Tests/Cassettes/XCDYouTubeProtectedVideosTestCase/testProtectedVEVOIsPlayable.json @@ -1,114 +1,103 @@ [ { - "body" : "