Skip to content

Commit

Permalink
Fix pod lint warnings (#380)
Browse files Browse the repository at this point in the history
Fixed warnings about incorrect tags in documentation, version of iOS that the project was using (in both podspec and Xcode), and deprecated methods.
  • Loading branch information
Eric Vargas committed Jun 4, 2020
1 parent f278335 commit 51230df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Classes/YTPlayerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,9 @@ - (BOOL)handleHttpNavigationToUrl:(NSURL *) url {
if (ytMatch || adMatch || oauthMatch || staticProxyMatch || syndicationMatch) {
return YES;
} else {
[[UIApplication sharedApplication] openURL:url];
[[UIApplication sharedApplication] openURL:url
options:@{UIApplicationOpenURLOptionUniversalLinksOnly: @NO}
completionHandler:nil];
return NO;
}
}
Expand Down Expand Up @@ -800,7 +802,6 @@ - (BOOL)loadWithPlayerParams:(NSDictionary *)additionalPlayerParams {
* video IDs to play with the playlist player.
* @param index 0-index position of video to start playback on.
* @param startSeconds Seconds after start of video to begin playback.
* @return The result of cueing the playlist.
*/
- (void)cuePlaylist:(NSString *)cueingString
index:(int)index
Expand All @@ -820,7 +821,6 @@ - (void)cuePlaylist:(NSString *)cueingString
* video IDs to play with the playlist player.
* @param index 0-index position of video to start playback on.
* @param startSeconds Seconds after start of video to begin playback.
* @return The result of cueing the playlist.
*/
- (void)loadPlaylist:(NSString *)cueingString
index:(int)index
Expand Down
2 changes: 1 addition & 1 deletion youtube-ios-player-helper.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Pod::Spec.new do |s|
s.social_media_url = "https://twitter.com/YouTubeDev"
s.source = { :git => "https://github.com/youtube/youtube-ios-player-helper.git", :tag => "0.1.6" }

s.platform = :ios, '6.0'
s.platform = :ios, '10.0'
s.requires_arc = true

s.source_files = 'Classes'
Expand Down
5 changes: 3 additions & 2 deletions youtube-ios-player-helper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
);
mainGroup = B3C76A101B975AA700F375B4;
Expand Down Expand Up @@ -185,7 +186,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -226,7 +227,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down

0 comments on commit 51230df

Please sign in to comment.