Skip to content

Commit

Permalink
version to v8.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Apr 11, 2024
1 parent 6169864 commit 79940c8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#Changelog
## 8.7.2(2024-04-11)
- 增加 PrivacyInfo 文件

## 8.7.1(2023-11-23)
- 查询区域的主备域名增加 uc.qiniuapi.com

Expand Down
4 changes: 2 additions & 2 deletions Qiniu.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Qiniu'
s.version = '8.7.1'
s.version = '8.7.2'
s.summary = 'Qiniu Resource Storage SDK for iOS and Mac'
s.homepage = 'https://github.com/qiniu/objc-sdk'
s.social_media_url = 'http://weibo.com/qiniutek'
Expand All @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.resource_bundle = {"Qiniu.privacy"=>"QiniuSDK/PrivacyInfo.xcprivacy"}
s.requires_arc = true
s.libraries = 'z'
s.dependency 'HappyDNS', '~> 1.0.3'
s.dependency 'HappyDNS', '~> 1.0.4'
s.license = { :type => "MIT", :text => <<-LICENSE
The MIT License (MIT)
Expand Down
4 changes: 0 additions & 4 deletions QiniuSDK/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
Expand Down
2 changes: 1 addition & 1 deletion QiniuSDK/Storage/QNUploadBlock.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ - (BOOL)isValid {
}

// 存在则有效期必须为过期
return (self.expiredAt.doubleValue - 2*3600) > [[NSDate date] timeIntervalSince1970];
return (self.expiredAt.doubleValue - 12*3600) > [[NSDate date] timeIntervalSince1970];
}

- (BOOL)isCompleted{
Expand Down
2 changes: 1 addition & 1 deletion QiniuSDK/Utils/QNVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
/**
* sdk 版本
*/
static NSString *const kQiniuVersion = @"8.7.1";
static NSString *const kQiniuVersion = @"8.7.2";
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
通过 CocoaPods

```ruby
pod "Qiniu", "~> 8.7.1"
pod "Qiniu", "~> 8.7.2"
```

通过 Swift Package Manager (Xcode 11+)
Expand All @@ -26,7 +26,7 @@ File -> Swift Packages -> Add Package Dependency,输入库链接,选择相
库对接:
let package = Package(
dependencies: [
.package(url: "https://github.com/qiniu/objc-sdk", from: "8.7.1")
.package(url: "https://github.com/qiniu/objc-sdk", from: "8.7.2")
],
// ...
)
Expand Down

0 comments on commit 79940c8

Please sign in to comment.