Skip to content

Commit

Permalink
fix: fix pod lib lint error (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzxha authored Dec 19, 2023
1 parent 3eab058 commit 3fd2655
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AliyunpanSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |spec|
spec.swift_versions = '5.0'

spec.ios.deployment_target = "13.0"
spec.tvos.deployment_target = "12.0"
spec.tvos.deployment_target = "13.0"
spec.osx.deployment_target = "10.15"

spec.source = { :git => "https://github.com/alibaba/aliyunpan-ios-sdk.git", :tag => "#{spec.version}" }
Expand Down
4 changes: 2 additions & 2 deletions AliyunpanSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
TVOS_DEPLOYMENT_TARGET = 11.0;
TVOS_DEPLOYMENT_TARGET = 13.0;
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Debug;
Expand All @@ -861,7 +861,7 @@
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
TVOS_DEPLOYMENT_TARGET = 11.0;
TVOS_DEPLOYMENT_TARGET = 13.0;
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Release;
Expand Down
1 change: 1 addition & 0 deletions Sources/AliyunpanSDK/Platform.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Platform {
#if canImport(TVUIKit)
return UIApplication.shared.canOpenURL(url)
#endif
return false
}

static func open(_ url: URL) async {
Expand Down

0 comments on commit 3fd2655

Please sign in to comment.