Skip to content

Commit

Permalink
update: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
rinov committed Apr 13, 2024
1 parent 47a4095 commit 13f4279
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 24 deletions.
14 changes: 7 additions & 7 deletions Example/YoutubeKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -346,7 +346,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 = 14.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -397,7 +397,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 = 14.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
Expand All @@ -413,7 +413,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = V4CT2P98Z9;
INFOPLIST_FILE = YoutubeKit/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -431,7 +431,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = V4CT2P98Z9;
INFOPLIST_FILE = YoutubeKit/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -456,7 +456,7 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -477,7 +477,7 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
9 changes: 2 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "YoutubeKit",
platforms: [
.iOS(.v11)
.iOS(.v13)
],
products: [
.library(
Expand All @@ -16,12 +16,7 @@ let package = Package(
.target(
name: "YoutubeKit",
path: "YoutubeKit",
resources: [.process("Resources")]
),
.target(
name: "YoutubeKit",
path: "YoutubeKit",
resources: [.copy("PrivacyInfo.xcprivacy")]
resources: [.process("Resources"), .copy("PrivacyInfo.xcprivacy")]
)
],
swiftLanguageVersions: [.v5]
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ import YoutubeKit
final class VideoPlayerController: UIViewController {

private var player: YTSwiftyPlayer!

override func viewDidLoad() {
super.viewDidLoad()

// Create a new player
player = YTSwiftyPlayer(
frame: .zero,
Expand Down Expand Up @@ -106,9 +106,9 @@ func player(_ player: YTSwiftyPlayer, didUpdateCurrentTime currentTime: Double)
func player(_ player: YTSwiftyPlayer, didChangeState state: YTSwiftyPlayerState)
func player(_ player: YTSwiftyPlayer, didChangePlaybackRate playbackRate: Double)
func player(_ player: YTSwiftyPlayer, didReceiveError error: YTSwiftyPlayerError)
func player(_ player: YTSwiftyPlayer, didChangeQuality quality: YTSwiftyVideoQuality)
func apiDidChange(_ player: YTSwiftyPlayer)
func youtubeIframeAPIReady(_ player: YTSwiftyPlayer)
func player(_ player: YTSwiftyPlayer, didChangeQuality quality: YTSwiftyVideoQuality)
func apiDidChange(_ player: YTSwiftyPlayer)
func youtubeIframeAPIReady(_ player: YTSwiftyPlayer)
func youtubeIframeAPIFailedToLoad(_ player: YTSwiftyPlayer)
```

Expand Down Expand Up @@ -185,7 +185,7 @@ var nextPageToken: String?
YoutubeAPI.shared.send(request) { [weak self] result in
switch result {
case .success(let response):

// Save nextPageToken
self?.nextPage = response.nextPageToken
case .failed(let error):
Expand Down Expand Up @@ -244,7 +244,7 @@ Add the following to your Package.swift file:

```swift
dependencies: [
.package(url: "https://github.com/rinov/YoutubeKit.git", from: "0.9.0")
.package(url: "https://github.com/rinov/YoutubeKit.git", from: "0.10.0")
]
```

Expand Down
7 changes: 4 additions & 3 deletions YoutubeKit.podspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
Pod::Spec.new do |s|
s.name = 'YoutubeKit'
s.version = '0.9.0'
s.version = '0.10.0'
s.summary = 'YoutubeKit is a video player for easily create a Youtube app.'

s.description = <<-DESC
YoutubeKit is a video player that fully supports Youtube IFrame API and YoutubeDataAPI for easily create a Youtube app.
DESC
DESC

s.homepage = 'https://github.com/rinov/YoutubeKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'rinov' => '[email protected]' }
s.social_media_url = 'https://twitter.com/rinov0321'
s.swift_version = "5.0"
s.ios.deployment_target = '11.0'
s.ios.deployment_target = '13.0'

s.source_files = 'YoutubeKit/**/*.swift'
s.resources = 'YoutubeKit/Resources/*.*'
s.resource_bundles = {"YoutubeKit" => ["YoutubeKit/PrivacyInfo.xcprivacy"]}
s.source = { :git => 'https://github.com/rinov/YoutubeKit.git', :tag => s.version.to_s }
end

0 comments on commit 13f4279

Please sign in to comment.